diff options
author | Max Christian Pohle | 2017-03-20 23:05:07 +0100 |
---|---|---|
committer | Max Christian Pohle | 2017-03-20 23:05:07 +0100 |
commit | d94b51cb37571f1dea71e1def66a93807a57469e (patch) | |
tree | a871058dae8f5f3d327d665cce9a1675ed738285 /vimrc | |
parent | 4cf297f745fadb3c82f579cf32ce7dd9b5164820 (diff) | |
download | vim-karlmarks-d94b51cb37571f1dea71e1def66a93807a57469e.tar.bz2 vim-karlmarks-d94b51cb37571f1dea71e1def66a93807a57469e.zip |
Colors fixed for screen(1)
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -235,12 +235,13 @@ let g:spellfile_URL = 'http://ftp.vim.org/vim/runtime/spell' | |||
235 | " settings ============================================. | 235 | " settings ============================================. |
236 | " | 236 | " |
237 | " autocmd BufEnter * lcd %:p:h | 237 | " autocmd BufEnter * lcd %:p:h |
238 | set autochdir | " When on, Vim will change the current working directory | 238 | " set autochdir | " When on, Vim will change the current working directory |
239 | set shell=/bin/bash | " many scripts rely on bash, but its path varies why it is commented out here | 239 | set shell=/bin/bash | " many scripts rely on bash, but its path varies why it is commented out here |
240 | " set selectmode=mouse,key,cmd | " enters vim's select mode when pressing shift-left or shift-END | 240 | " set selectmode=mouse,key,cmd | " enters vim's select mode when pressing shift-left or shift-END |
241 | " set keymodel=startsel,stopsel | " makes shift-left, shift-right available for selecting text | 241 | " set keymodel=startsel,stopsel | " makes shift-left, shift-right available for selecting text |
242 | set breakindent | " Every wrapped line will continue visually indented | 242 | set breakindent | " Every wrapped line will continue visually indented |
243 | set clipboard=unnamedplus | " makes copy and paste work (autoselectplus might work as well) | 243 | set clipboard=unnamedplus | " makes copy and paste work (autoselectplus might work as well) |
244 | set cmdheight=2 | " self explaining | ||
244 | set complete+=d | " scan current and included files for defined name or macro | 245 | set complete+=d | " scan current and included files for defined name or macro |
245 | set complete+=i | " scan current and included files for completions | 246 | set complete+=i | " scan current and included files for completions |
246 | set concealcursor=nc | " limits the display of concealed text to normal and command mode | 247 | set concealcursor=nc | " limits the display of concealed text to normal and command mode |
@@ -274,8 +275,10 @@ set scrolljump=5 | " how many lines get scrolled into view when cur | |||
274 | set splitbelow | " open new windows below the current one (i find that more intuitive) | 275 | set splitbelow | " open new windows below the current one (i find that more intuitive) |
275 | set shiftround | " indent/unindent snaps to multiple of shiftwidth | 276 | set shiftround | " indent/unindent snaps to multiple of shiftwidth |
276 | set showcmd | " essential: show keys of combined commands in the lower right corner | 277 | set showcmd | " essential: show keys of combined commands in the lower right corner |
277 | " set t_Co=256 | " required on some ssh sessions | 278 | set t_Co=256 | " required on some ssh sessions |
278 | " set textwidth=100 | " line length (80 used to be default, but...) | 279 | " set textwidth=100 | " line length (80 used to be default, but...) |
280 | " set textwidth=120 | " line length (80 used to be default, but...) | ||
281 | set colorcolumn=120 | ||
279 | set thesaurus+=/home/max/.vim/thesaurus/php.txt | 282 | set thesaurus+=/home/max/.vim/thesaurus/php.txt |
280 | set ts=2 sts=2 sw=2 expandtab | " indentation which i like (abbr: tabstop, softtabstop, shiftwidth) | 283 | set ts=2 sts=2 sw=2 expandtab | " indentation which i like (abbr: tabstop, softtabstop, shiftwidth) |
281 | set ttimeoutlen=10 | " set esc key timeout in ms- | 284 | set ttimeoutlen=10 | " set esc key timeout in ms- |
@@ -446,7 +449,7 @@ if !has('nvim') | |||
446 | set ttymouse=xterm2 | 449 | set ttymouse=xterm2 |
447 | set ttyscroll=100 | " improves speed for terminal vim, incomp. with nvim | 450 | set ttyscroll=100 | " improves speed for terminal vim, incomp. with nvim |
448 | set ttyfast | " improves speed for terminal vim (incomp. with nvim) | 451 | set ttyfast | " improves speed for terminal vim (incomp. with nvim) |
449 | set termguicolors | " When on, uses highlight-guifg and highlight-guibg attributes in the terminal (=24bit color) incomp. with nvim | 452 | " set termguicolors | " When on, uses highlight-guifg and highlight-guibg attributes in the terminal (=24bit color) incomp. with nvim |
450 | else | 453 | else |
451 | " shortcut \t opens a terminal in a horizontal split | 454 | " shortcut \t opens a terminal in a horizontal split |
452 | nnoremap <leader>t :new +terminal<CR> | 455 | nnoremap <leader>t :new +terminal<CR> |