summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2020-11-26 15:57:40 +0300
committerYigit Sever2020-11-26 15:57:40 +0300
commitb2f106c3d8433dac0ee6b7f9944de131ca02a5cf (patch)
tree4333f352aa2ed9c17b569f9fec5b4dbedec9f954
parentd6ade3566841a2656fb4bed8e7b96ca8842a7082 (diff)
downloaddotfiles-b2f106c3d8433dac0ee6b7f9944de131ca02a5cf.tar.gz
dotfiles-b2f106c3d8433dac0ee6b7f9944de131ca02a5cf.tar.bz2
dotfiles-b2f106c3d8433dac0ee6b7f9944de131ca02a5cf.zip
silence leader f n mapping
-rwxr-xr-x.config/nvim/init.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 1017e73..7559c0b 100755
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -425,8 +425,8 @@ nmap <c-p> <plug>(YoinkPostPasteSwapForward)
425 425
426" change into pwd of current directory 426" change into pwd of current directory
427nnoremap <leader>cd :cd %:p:h<CR>:pwd<CR> 427nnoremap <leader>cd :cd %:p:h<CR>:pwd<CR>
428inoremap <Leader>fn <C-R>=expand("%:t:r")<CR> 428inoremap <silent> <Leader>fn <C-R>=expand("%:t:r")<CR>
429nnoremap <Leader>fn :put! =expand('%:t:r')<CR> 429nnoremap <silent> <Leader>fn :put! =expand('%:t:r')<CR>
430 430
431" press \g and start writing prose 431" press \g and start writing prose
432map <leader>g :Goyo<CR> 432map <leader>g :Goyo<CR>