mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 20:59:23 +01:00
vimrc: "Take inspiration" from @ProgVal
https://raw.githubusercontent.com/ProgVal/misc/master/dotfiles/.vimrc
This commit is contained in:
parent
c4624848d1
commit
08cbe90f2a
12
vimrc
12
vimrc
@ -85,3 +85,15 @@ set fileencoding=utf-8
|
|||||||
" Remove BOMs. They broke things yesterday nd now they wasted my time
|
" Remove BOMs. They broke things yesterday nd now they wasted my time
|
||||||
" at school! via http://techwelkin.com/how-to-remove-byte-order-mark-bom-characters
|
" at school! via http://techwelkin.com/how-to-remove-byte-order-mark-bom-characters
|
||||||
set nobomb
|
set nobomb
|
||||||
|
|
||||||
|
" Copied from https://github.com/ProgVal/misc/blob/master/dotfiles/.vimrc
|
||||||
|
set autoindent
|
||||||
|
set softtabstop=4
|
||||||
|
filetype plugin indent on
|
||||||
|
|
||||||
|
" Return to last edit position when opening files (You want this!)
|
||||||
|
autocmd BufReadPost *
|
||||||
|
\ if line("'\"") > 0 && line("'\"") <= line("$") |
|
||||||
|
\ exe "normal! g`\"" |
|
||||||
|
\ endif
|
||||||
|
" End of copied from https://raw.githubusercontent.com/ProgVal/misc/master/dotfiles/.vimrc
|
||||||
|
Loading…
Reference in New Issue
Block a user