opnsense-src/etc/root/dot.vimrc
Franco Fichtner f344f6c0be etc: OPNsense customisations
o use less(1) as the default pager (inspired by DragonFlyBSD)
o add more key bindings to .cshrc (contributed by Thomas Siegmund)
o add .vimrc to base installation
2017-08-20 14:05:05 +02:00

14 lines
294 B
Text

command Zap %s/[\xA0]/ /g
set viminfo='20,<1000
set colorcolumn=80
syntax on
set ts=8
set hls
set nu
autocmd BufReadPost *
\ if ! exists("g:leave_my_cursor_position_alone") |
\ if line("'\"") > 0 && line ("'\"") <= line("$") |
\ exe "normal g'\"" |
\ endif |
\ endif