Skip to content

Commit

Permalink
Update vimrc
Browse files Browse the repository at this point in the history
  • Loading branch information
dadgar committed Feb 23, 2017
1 parent d902056 commit ba96067
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,14 @@ Plugin 'zchee/deoplete-go', { 'do': 'make'}
"Plugin 'fatih/vim-hclfmt'
call vundle#end() " required
filetype plugin indent on " required
if has("gui_running")
colorscheme luna
else
colorscheme luna-term

" gui colors if running iTerm
if $TERM_PROGRAM =~ "iTerm"
set termguicolors
endif

colorscheme luna

" Disable arrows
noremap <Up> <NOP>
noremap <Down> <NOP>
Expand Down Expand Up @@ -87,6 +90,10 @@ set nowrap
map <Leader>bn :bn<cr>
map <Leader>bp :bp<cr>
map <Leader>bd :Bdelete<cr>
" List navigation
map <Leader>ll :lfirst<cr>
map <Leader>ln :lnext<cr>
map <Leader>lp :lprevious<cr>
" MISC
set shortmess+=filmnrxoOtT " Abbreviate and avoid hit enter
set virtualedit=onemore " Allow for cursor beyond last character
Expand Down

0 comments on commit ba96067

Please sign in to comment.