Initial commit of very basic dotfiles
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
set encoding=utf-8
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" When editing a file, always jump to the last known cursor position.
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
autocmd BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal g`\"" | endif
|
||||
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" Delete trailing whitespaces on saving a file
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
autocmd BufWritePre * :%s/\s\+$//e
|
||||
Reference in New Issue
Block a user