dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit 8be7af32014f294b5c37613729eb8bb5b0870d1a
parent 9e0c2c1a2284cedaf0a8036a2bee34d8aded5584
Author: Chris Bracken <chris@bracken.jp>
Date:   Tue, 21 May 2024 17:29:51 -0700

vim: use C-S-g for grep

<C-g> is a vim built-in command that causes the filename and cursor
position to be displayed at the bottom of the editor. Given that I use
this all the time, I have no idea why I thought it would be a good idea
to re-map this one.

Diffstat:
M.config/nvim/init.vim | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim @@ -87,11 +87,11 @@ set tags+=~/.local/tags/system.tags set tags+=~/.local/tags/cxx.tags " Configure fzf-lua. -nnoremap <C-^> <cmd>FzfLua buffers<CR> -nnoremap <C-p> <cmd>FzfLua files<CR> -nnoremap <C-g> <cmd>FzfLua grep<CR> -nnoremap <C-l> <cmd>FzfLua live_grep<CR> -nnoremap <C-k> <cmd>FzfLua builtin commands<CR> +nnoremap <C-^> <cmd>FzfLua buffers<CR> +nnoremap <C-p> <cmd>FzfLua files<CR> +nnoremap <C-S-G> <cmd>FzfLua grep<CR> +nnoremap <C-l> <cmd>FzfLua live_grep<CR> +nnoremap <C-k> <cmd>FzfLua builtin commands<CR> " Configure colour scheme and syntax highlighting. if &t_Co > 2