dotfiles/vimrc

41 lines
652 B
VimL
Raw Normal View History

"""Weird tmux settings
let &t_Co=256
2018-06-11 21:29:46 -04:00
""" Load plugins
call plug#begin('~/.vim/plugged')
Plug 'whatyouhide/vim-gotham'
call plug#end()
2018-06-11 21:29:46 -04:00
"""" General Settings
"" Set tabs to 4 spaces
2017-10-26 01:39:39 -04:00
set tabstop=4
set shiftwidth=4
set expandtab
2018-06-11 21:29:46 -04:00
"
"" Remember location in file
2017-10-26 01:39:39 -04:00
if has("autocmd")
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
endif
2018-06-11 21:29:46 -04:00
"" Line numbers
2017-10-26 01:39:39 -04:00
set number
2017-10-24 15:28:32 -04:00
2018-06-11 21:29:46 -04:00
"" Autoindent
set autoindent
2018-06-11 21:29:46 -04:00
"" Colors
2017-10-26 01:39:39 -04:00
syntax enable
set background=dark
2017-11-18 22:48:39 -05:00
colorscheme gotham256
2017-10-26 01:39:39 -04:00
filetype plugin on
2018-06-11 21:29:46 -04:00
"" Fuzzy Finding
2017-10-26 01:39:39 -04:00
set path+=**
set wildmenu
2018-06-11 21:29:46 -04:00
"" Window stuff
map <C-h> <C-w>h
map <C-j> <C-w>j
map <C-k> <C-w>k
map <C-l> <C-w>l