Download:
child 204:907ae0d67c43
parent 202:efa1b684a3ce
203:79443480b266
Anton Shestakov <av6@dwimlabs.net>, Sat, 18 Jul 2020 10:53:36 +0800
.vimrc: move autocmd to a better place

1 файлов изменено, 6 вставок(+), 6 удалений(-) [+]
.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc Sat Jul 18 01:29:49 2020 +0800
+++ b/.vimrc Sat Jul 18 10:53:36 2020 +0800
@@ -86,6 +86,12 @@
syntax on
filetype plugin indent on
+" go back to the last edited position
+au BufReadPost *
+ \ if line("'\"") >= 1 && line("'\"") <= line("$")
+ \ | execute "normal! g`\""
+ \ | endif
+
" airline
let g:airline_left_sep=''
let g:airline_right_sep=''
@@ -123,12 +129,6 @@
let g:ansible_attribute_highlight="ab"
let g:ansible_extra_keywords_highlight=1
-" go back to the last edited position
-au BufReadPost *
- \ if line("'\"") >= 1 && line("'\"") <= line("$")
- \ | execute "normal! g`\""
- \ | endif
-
" molokai color scheme
let g:molokai_original=1
colorscheme molokai