Fix fish settings and better telescope for nvim
This commit is contained in:
parent
96685eb902
commit
d2a7a8263c
5 changed files with 50 additions and 29 deletions
5
.vimrc
5
.vimrc
|
|
@ -992,7 +992,7 @@ nnoremap <silent> <Leader>aa :<C-u>RgRoot!<CR>
|
|||
"nnoremap <silent> <Leader>aw :<C-u>RgRoot! <C-r><C-w><CR>
|
||||
"nnoremap <C-l> :<C-u>Files! `git rev-parse --show-toplevel`<CR>
|
||||
"nnoremap <C-k> :<C-u>GFiles<CR>
|
||||
nnoremap <C-k> <cmd>lua require('telescope.builtin').git_files()<cr>
|
||||
nnoremap <silent> <C-k> <cmd>lua file_list{}<cr>
|
||||
nnoremap <silent> <Leader>ag <cmd>lua live_grep_repo{ word_match = "-w", only_sort_text = true, search = ''}<cr>
|
||||
nnoremap <silent> <Leader>aw <cmd>lua git_grep_word{ word_match = "-w", only_sort_text = true, initial_mode = "normal" }<cr>
|
||||
|
||||
|
|
@ -1001,7 +1001,8 @@ nnoremap <silent> <Leader>aw <cmd>lua git_grep_word{ word_match = "-w", only_sor
|
|||
nnoremap <Leader>hh :A<CR>
|
||||
" CommandT is useful, but if I'm juggling lots of buffers, limit it to another
|
||||
" one I have open (instead of standard <Leader>t).
|
||||
nnoremap <silent> <Leader>o :<C-u>Buffers<CR>
|
||||
"nnoremap <silent> <Leader>o :<C-u>Buffers<CR>
|
||||
nnoremap <silent> <Leader>o <cmd>lua buffer_telescope{initial_mode = "normal"}<cr>
|
||||
"nnoremap <Leader>j <C-^>
|
||||
"nnoremap <Leader>p :PTW
|
||||
nnoremap <Leader>p :LustyJugglePrevious<CR>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue