- change history & undolevel to 1000

- use tabs
- set listchars to show special characters
This commit is contained in:
2016-07-15 17:29:23 +02:00
parent df1a2f81f5
commit 157e6bd194

13
.vimrc
View File

@@ -44,7 +44,8 @@
" => General " => General
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Sets how many lines of history VIM has to remember " Sets how many lines of history VIM has to remember
set history=700 set history=1000
set undolevels=1000
" Enable filetype plugins " Enable filetype plugins
filetype plugin on filetype plugin on
@@ -167,12 +168,12 @@ set noswapfile
" => Text, tab and indent related " => Text, tab and indent related
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Use spaces instead of tabs " Use spaces instead of tabs
set expandtab "set expandtab
" Be smart when using tabs ;) " Be smart when using tabs ;)
set smarttab set smarttab
" 1 tab == 4 spaces " 1 tab == 3 spaces
set shiftwidth=3 set shiftwidth=3
set tabstop=3 set tabstop=3
@@ -184,6 +185,11 @@ set tw=500
set si "Smart indent set si "Smart indent
set wrap "Wrap lines set wrap "Wrap lines
"set listchars to show special characters
set list
set listchars=tab:\▸\ ,trail:.,extends:#,nbsp:.,eol
hi SpecialKey ctermfg=8
hi NonText ctermfg=8 guifg=gray
"""""""""""""""""""""""""""""" """"""""""""""""""""""""""""""
" => Visual mode related " => Visual mode related
@@ -346,7 +352,6 @@ map <leader>q :e ~/buffer<cr>
map <leader>pp :setlocal paste!<cr> map <leader>pp :setlocal paste!<cr>
set pastetoggle=<F1> set pastetoggle=<F1>
" Define Mouse Mode " Define Mouse Mode
"set mouse=a "set mouse=a