summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorYigit Sever2020-01-15 11:20:09 +0300
committerYigit Sever2020-01-15 11:20:09 +0300
commitcb6ccba8066c4db7caa4b7de5e9b1c08834b0c12 (patch)
tree246ef24ced4675ef1b942e0568a41852f0f07fbc /.config
parent2ae520d59664cfc825e8d42f422e50446ea1b526 (diff)
downloaddotfiles-cb6ccba8066c4db7caa4b7de5e9b1c08834b0c12.tar.gz
dotfiles-cb6ccba8066c4db7caa4b7de5e9b1c08834b0c12.tar.bz2
dotfiles-cb6ccba8066c4db7caa4b7de5e9b1c08834b0c12.zip
New mapping to insert current filename
Diffstat (limited to '.config')
-rwxr-xr-x.config/nvim/init.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 575c331..861494c 100755
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -266,7 +266,8 @@ nmap <c-p> <plug>(YoinkPostPasteSwapForward)
266 266
267" change into pwd of current directory 267" change into pwd of current directory
268nnoremap <leader>cd :cd %:p:h<CR>:pwd<CR> 268nnoremap <leader>cd :cd %:p:h<CR>:pwd<CR>
269 269inoremap <Leader>fn <C-R>=expand("%:t:r")<CR>
270nnoremap <Leader>fn :put! =expand('%:t:r')<CR>
270"}}} 271"}}}
271 272
272"{{{Tagbar 273"{{{Tagbar