diff --git a/.vimrc b/.vimrc deleted file mode 120000 index f67022e..0000000 --- a/.vimrc +++ /dev/null @@ -1 +0,0 @@ -../.vimrc \ No newline at end of file diff --git a/.vimrc b/.vimrc new file mode 100755 index 0000000..26a9186 --- /dev/null +++ b/.vimrc @@ -0,0 +1,79 @@ +set t_Co=256 +"set t_Co=16 +set t_ut= +set ai +set background=dark +set tabstop=4 +set softtabstop=4 +set shiftwidth=4 +set expandtab +"set textwidth=80 +set hlsearch +"color asu1dark +"set t_ut= +let g:solarized_italic=0 +let g:solarized_bold=0 +let g:solarized_underline=0 +colorscheme sorcerer +let g:csv_delim=',' + +" Pathogen +filetype off " Pathogen needs to run before plugin indent on +execute pathogen#infect() +"call pathogen#runtime_append_all_bundles() +"call pathogen#helptags() " generate help tags for everything in 'runtimepath' +filetype plugin indent on +filetype plugin on +syntax on +nnoremap :GundoToggle +nnoremap w +imap  +imap  +"nnoremap  $ +"nnoremap  +nmap Y y$ +nmap C c$ + +inoremap jj +inoremap kk +inoremap hh +inoremap lll +inoremap :wq :wq +inoremap :w :w +inoremap :q! :q! +inoremap :q :q +inoremap yy yy +inoremap ddd dd + +" Fix Home/End/Delete +set backspace=indent,eol,start +"fixdel + +" Idle timeout, exit insert mode after thirty seconds: +"au CursorHoldI * stopinsert +"set updatetime=30000 + +set clipboard=unnamedplus + +set laststatus=2 +set statusline=[%n]\ %<%F\ \ \ [%M%R%H%W%Y][%{&ff}]\ \ %=\ line:%l/%L\ col:%c\ \ \ %p%%\ \ \ @%{strftime(\"%H:%M:%S\")} + +"set spell spelllang=en +" + +" Change cursor from block to vertical pipe when in insert mode + +if &term =~ "screen-256color" + if exists('$TMUX') + let &t_SI = "\Ptmux;\\[5 q\x7\\\" + let &t_SR = "\Ptmux;\\[3 q\x7\\\" + let &t_EI = "\Ptmux;\\[1 q\x7\\\" + else + let &t_SI = "\[5 q" + let &t_SR = "\[3 q" + let &t_EI = "\[1 q" + endif +endif + + +autocmd BufRead,BufNewFile ~/Private/academic/certs/lf/LFS211/2017-12-16_study_materials/*.txt source ~/.muttvimrc