aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2011-04-12 22:49:12 +1200
committerTom Ryder <tom@sanctum.geek.nz>2011-04-12 22:49:12 +1200
commit9aa6ff07022b93797f8d58464494756f94051215 (patch)
tree69a03062b69556e9b380afe9ec8e589c0f1d5ef3
parentStill playing around with this setup ... (diff)
downloaddotfiles-9aa6ff07022b93797f8d58464494756f94051215.tar.gz
dotfiles-9aa6ff07022b93797f8d58464494756f94051215.zip
Adding my custom colorscheme as a plugin.
-rw-r--r--.gitmodules3
m---------vim/bundle/dessert0
-rw-r--r--vim/vimrc23
3 files changed, 12 insertions, 14 deletions
diff --git a/.gitmodules b/.gitmodules
index b6d5d7f3..6b1b1880 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -18,3 +18,6 @@
path = vim/bundle/unimpaired
url = git://github.com/tpope/vim-unimpaired.git
ignore = dirty
+[submodule "vim/bundle/dessert"]
+ path = vim/bundle/dessert
+ url = git://github.com/tejr/dessert.git
diff --git a/vim/bundle/dessert b/vim/bundle/dessert
new file mode 160000
+Subproject 76b6913f08fddff5ffea314571bb0160339a383
diff --git a/vim/vimrc b/vim/vimrc
index 20a88fc9..b9c84893 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -2,14 +2,17 @@
call pathogen#runtime_append_all_bundles()
call pathogen#helptags()
+" Filetypes
+if has("autocmd")
+ filetype on
+ filetype plugin on
+ filetype indent on
+endif
+
" Colors
-if has("syntax") && ((&t_Co > 15) || has("gui_running"))
- set background=dark
+if has("syntax")
syntax enable
- if (&t_Co > 255) || has("gui_running")
- colorscheme desert256
- highlight Pmenu ctermfg=0 ctermbg=8
- endif
+ colorscheme dessert
endif
" Command
@@ -30,19 +33,11 @@ if has("multi_byte")
set encoding=utf-8
endif
-" Filetypes
-if has("autocmd")
- filetype on
- filetype plugin on
- filetype indent on
-endif
-
" Indenting
set autoindent
set smartindent
" Leaders
-nnoremap <leader>c :set cursorline! cursorcolumn!<CR>
nnoremap <leader>h :set hlsearch!<CR>
nnoremap <leader>l :set list!<CR>
nnoremap <leader>n :set number!<CR>