diff options
author | ache <ache@ache.one> | 2018-04-20 02:34:49 +0200 |
---|---|---|
committer | ache <ache@ache.one> | 2018-04-23 21:15:14 +0200 |
commit | 48996a3c6154e6352dae8eff3a126864dd814703 (patch) | |
tree | bae575a2d4631d2b78416dac073fa026a64bb418 | |
parent | listPlugin is now a script to install plugins (diff) |
Fix the cursor
-rw-r--r-- | plugin/neo.vim | 3 | ||||
-rwxr-xr-x | plugin/viminfo.vim | 18 |
2 files changed, 3 insertions, 18 deletions
diff --git a/plugin/neo.vim b/plugin/neo.vim new file mode 100644 index 0000000..c48afa4 --- /dev/null +++ b/plugin/neo.vim @@ -0,0 +1,3 @@ +"" Neovim stuffs + +au VimLeave * set guicursor=a:hor100-blinkon1000 diff --git a/plugin/viminfo.vim b/plugin/viminfo.vim deleted file mode 100755 index c543518..0000000 --- a/plugin/viminfo.vim +++ /dev/null @@ -1,18 +0,0 @@ -" viminfo.vim -" Viminfo parameters - -set viminfo='20,\"50,<100,n~/.vimtmp/viminfo - -" From the Vim wiki -" http://vim.wikia.com/wiki/Restore_cursor_to_file_position_in_previous_editing_session -function! ResCur() - if line("'\"") <= line("$") - normal! g`" - return 1 - endif -endfunction - -augroup resCur - autocmd! - autocmd BufWinEnter * call ResCur() -augroup END |