diff options
| author | Teddy Wing | 2017-09-19 05:18:52 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2017-09-19 05:18:52 +0200 | 
| commit | 5b5d9d0cecf3be595737b40ec5dba63b690f53c8 (patch) | |
| tree | 2d9c54999e40d80955f3a49eef1c67f38c35c2a8 /vimrc | |
| parent | b5b423cd084be4b04e55acdd919f2a43448ff60b (diff) | |
| download | dotvim-5b5d9d0cecf3be595737b40ec5dba63b690f53c8.tar.bz2 | |
vimrc: Add <leader>mk mapping to save Vim session
I had previously defined this command as 'af83'-project-specific. Now
I've become used to it and want to use it everywhere, so promote it to a
global mapping.
Diffstat (limited to 'vimrc')
| -rw-r--r-- | vimrc | 4 | 
1 files changed, 4 insertions, 0 deletions
| @@ -378,6 +378,7 @@  "   2017.09.19:  "       * Set 'backspace=2' because that doesn't get set by default on some   "         Vims. +"       * Add <leader>mk to save a Vim session file.  " @@ -739,6 +740,9 @@ nnoremap <leader>gp :!git log -p -- %<cr>  " Copy the current file path into the OS X pasteboard  nnoremap <leader>cf :call system('pbcopy', expand('%'))<cr> +" Save the current session to a file +nnoremap <leader>mk :mksession! vimsession<cr> +  " Project Settings | 
