diff --git a/.vimrc b/.vimrc index 5ec46dc..1be17ff 100644 --- a/.vimrc +++ b/.vimrc @@ -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 noremap @@ -87,6 +90,10 @@ set nowrap map bn :bn map bp :bp map bd :Bdelete +" List navigation +map ll :lfirst +map ln :lnext +map lp :lprevious " MISC set shortmess+=filmnrxoOtT " Abbreviate and avoid hit enter set virtualedit=onemore " Allow for cursor beyond last character