aboutsummaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/.vim/vimrc24
1 files changed, 12 insertions, 12 deletions
diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc
index 1dc1e2e..3c83b4d 100644
--- a/vim/.vim/vimrc
+++ b/vim/.vim/vimrc
@@ -13,18 +13,6 @@ let mapleader=" "
13syntax on 13syntax on
14filetype plugin indent on 14filetype plugin indent on
15 15
16" Set colorscheme when the terminal has 256 color support
17try
18 if (&t_Co == 256) && match($TERM, "256color") >= 0
19 autocmd ColorScheme janah highlight Normal ctermbg=235
20 colorscheme janah
21 else
22 throw "nocolor"
23 endif
24catch
25 colorscheme desert
26endtry
27
28" Some vim settings 16" Some vim settings
29set number 17set number
30set relativenumber 18set relativenumber
@@ -37,6 +25,18 @@ set scrolloff=1
37set backspace=indent,eol,start 25set backspace=indent,eol,start
38set cursorline 26set cursorline
39 27
28" Set colorscheme when the terminal has 256 color support
29try
30 if (&t_Co == 256) && match($TERM, "256color") >= 0
31 autocmd ColorScheme janah highlight Normal ctermbg=235
32 colorscheme janah
33 else
34 throw "nocolor"
35 endif
36catch
37 colorscheme desert
38endtry
39
40" Search-related things 40" Search-related things
41set hlsearch "highlight search result 41set hlsearch "highlight search result
42set incsearch " incremental search 42set incsearch " incremental search