52 lines
1.8 KiB
VimL
52 lines
1.8 KiB
VimL
" My Vimrc - Sean C
|
|
|
|
" Vundle
|
|
set nocompatible " be iMproved, required
|
|
filetype off " required
|
|
|
|
" set the runtime path to include Vundle and initialize
|
|
set rtp+=~/.vim/bundle/Vundle.vim
|
|
call vundle#begin()
|
|
" alternatively, pass a path where Vundle should install plugins
|
|
"call vundle#begin('~/some/path/here')
|
|
|
|
" let Vundle manage Vundle, required
|
|
Plugin 'VundleVim/Vundle.vim'
|
|
|
|
Plugin 'chriskempson/base16-vim'
|
|
|
|
" All of your Plugins must be added before the following line
|
|
call vundle#end() " required
|
|
filetype plugin indent on " required
|
|
"
|
|
" Brief help
|
|
" :PluginList - lists configured plugins
|
|
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
|
|
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
|
|
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
|
|
"
|
|
" see :h vundle for more details or wiki for FAQ
|
|
|
|
" Colours
|
|
colorscheme base16-default-dark
|
|
syntax enable
|
|
|
|
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
|
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
|
set termguicolors
|
|
highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE gui=NONE guifg=DarkGrey guibg=NONE " line number colours
|
|
" Spaces & Tabs
|
|
set tabstop=4 " number of visual spaces per TAB
|
|
set softtabstop=4 " same but for editing mode
|
|
set expandtab " tabs are spaces
|
|
" UI Config
|
|
set number " show line numbers
|
|
set showcmd " shows the last run command at the bottom
|
|
set cursorline " highlight the current line
|
|
filetype indent on " load filetype-specific indent files
|
|
set showmatch " highlight matching [{()}]
|
|
set wildmenu " visual autocomplete for command menu
|
|
" Searching
|
|
set incsearch " search as characters are entered
|
|
set hlsearch " highlight matches
|