summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>