Vim window logic, slimv

This commit is contained in:
Ian Keane 2020-02-24 20:27:04 -05:00
parent babcc9e44b
commit 515847d07e
791 changed files with 51552 additions and 86 deletions

View file

@ -25,8 +25,8 @@
Plug 'wolf-dog/lightline-sceaduhelm.vim'
" Plug 'unblevable/quick-scope'
Plug 'tpope/vim-fugitive'
Plug 'l04m33/vlime', {'rtp': 'vim/'}
Plug 'kovisoft/paredit'
" Plug 'l04m33/vlime', {'rtp': 'vim/'}
" Plug 'kovisoft/paredit'
Plug 'sainnhe/vim-color-forest-night'
Plug 'justinmk/vim-sneak'
Plug 'christoomey/vim-tmux-navigator'
@ -37,6 +37,8 @@
Plug 'roxma/vim-tmux-clipboard'
" TODO setup
Plug 'melonmanchan/vim-tmux-resizer'
" Plug 'roman/golden-ratio'
Plug 'kovisoft/slimv'
" Todo:
" GV
@ -59,7 +61,7 @@
" appearance {{{
" colorscheme zenburn
colorscheme zenburn
" colorscheme wal
syntax on " Enable syntax
set encoding=utf-8 " Keep utf-8 encoding
@ -68,12 +70,12 @@
set showcmd " Show command in bottom bar
set wildmenu " Visual autocomplete for command menu
set wildmode=list:longest " Show all completions on tab
set laststatus=1 " Last window will always have statusline
set laststatus=2 " Last window will always have statusline
set showmatch " Highlight matching [{()}]
set cursorline " Highlight current line
" remove underline on current line number
hi CursorLineNr cterm=bold
hi CursorLineNr cterm=bold
" Lightline
let g:lightline = { 'colorscheme': 'sceaduhelm', }
@ -104,6 +106,10 @@
set lazyredraw " Redraw only when necessary
set updatetime=100 " Make updates happen faster (gitgutter)
set splitright " Make split to right by default
set winheight=30 " Soft minimum window height (active)
set winminheight=10 " Hard minimum window height (inactive)
set winwidth=80 " Window width for current window
set winminwidth=30 " Hard minimum for window width
"}}}
@ -187,6 +193,12 @@
nnoremap k gk
"}}}
"
" slimv{{{
let g:slimv_repl_split=2
let g:slimv_repl_split_size=10
"
"}}}
" split pane navigation {{{
" Map vertical split to \ w, switch to it, open explorer, prompt for filename