dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit 48e810632c302f8e9fd02b1b5057fc5c68f20a98 (patch)
parent 2df1412a090461ec1047a5f545b014e1404d7187
Author: Alexander Karle <akarle@umass.edu>
Date:   Wed, 11 Apr 2018 11:12:59 -0400

Minor changes to theme + pythonSelf syntax

Diffstat:
Mvim/pluginsettings.vim | 1-
Avim/syntax/python.vim | 2++
Mvim/theme.vim | 7+++++++
3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/vim/pluginsettings.vim b/vim/pluginsettings.vim @@ -2,7 +2,6 @@ set statusline+=%#warningmsg# "set statusline+=%{SyntasticStatuslineFlag()} set statusline+=%* -let g:airline#extensions#tabline#enabled = 1 "let g:syntastic_always_populate_loc_list = 1 "let g:syntastic_auto_loc_list = 1 diff --git a/vim/syntax/python.vim b/vim/syntax/python.vim @@ -0,0 +1,2 @@ +" Highlight the self keyword red +syn keyword pythonSelf self diff --git a/vim/theme.vim b/vim/theme.vim @@ -28,6 +28,8 @@ if (has("termguicolors")) colorscheme one " reverse one-dark's fold colors highlight Folded guibg=#282c34 guifg=#5c6370 + " make pythonSelf red not grey + highlight pythonSelf ctermfg=168 guifg=#e06c75 endif " Needed for termgui in tmux--&term begins w screen-... @@ -38,3 +40,8 @@ if (has("termguicolors")) let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum" endif endif + +" Allow cursor to change shape +" https://stackoverflow.com/questions/6488683/how-do-i-change-the-vim-cursor-in-insert-normal-mode/42118416#42118416 +let &t_SI = "\e[6 q" +let &t_EI = "\e[2 q"