diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2022-01-23 22:35:23 +0100 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2022-01-23 22:35:23 +0100 |
| commit | 92988f8b38c11e4c9be7cb34411ab46bca636717 (patch) | |
| tree | 1789179b85f3fc0f58adbfbf15e60843e5737799 /init.vim | |
| parent | ce0932e5f1b177f44d2faf50eb9b9c86fb172fa9 (diff) | |
| download | nvim-conf-92988f8b38c11e4c9be7cb34411ab46bca636717.tar.gz nvim-conf-92988f8b38c11e4c9be7cb34411ab46bca636717.zip | |
improve local organize, add map for duplicates
Diffstat (limited to 'init.vim')
| -rw-r--r-- | init.vim | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -21,7 +21,7 @@ nnoremap # ?\<<C-R>=expand('<cword>')<CR>\><CR> vnoremap <leader>p "_dP " remove whitespaces -autocmd BufWritePre * %s/\s\+$//e +autocmd BufWritePre * :%s/\s\+$//e " augroup fmtphp " autocmd! @@ -58,5 +58,8 @@ let g:go_doc_keywordprg_enabled = 0 lua require('plugins') lua require("alpha") +" quick duplication of files +nnoremap <expr> <leader>dp ":saveas " . expand('%') + " Has to be the last line for the .nvimrc per project set secure |