Add blank line to avoid cluttering the status line
This commit is contained in:
parent
5aa3931a90
commit
f88edb4c11
1 changed files with 7 additions and 6 deletions
|
@ -134,12 +134,6 @@ let &t_SI = "\e[5 q" " cursor beam on insert mode
|
||||||
let &t_SR = "\e[3 q" " cursor underline on replace mode
|
let &t_SR = "\e[3 q" " cursor underline on replace mode
|
||||||
let &t_EI = "\e[2 q" " cursor block otherwise
|
let &t_EI = "\e[2 q" " cursor block otherwise
|
||||||
|
|
||||||
" reset cursor on start:
|
|
||||||
augroup cursorgroup
|
|
||||||
autocmd!
|
|
||||||
autocmd VimEnter * silent !echo -e "\e[2 q"
|
|
||||||
augroup END
|
|
||||||
|
|
||||||
set number " show line numbers
|
set number " show line numbers
|
||||||
set showcmd " show command in bottom bar
|
set showcmd " show command in bottom bar
|
||||||
set cursorline " highlight current line
|
set cursorline " highlight current line
|
||||||
|
@ -191,8 +185,15 @@ nnoremap gV `[v`]
|
||||||
" set language-specific settings for certain filetype/file extensions
|
" set language-specific settings for certain filetype/file extensions
|
||||||
" augroup makes the command only apply once
|
" augroup makes the command only apply once
|
||||||
" autocmd! directive clears all the autocmds for the current group
|
" autocmd! directive clears all the autocmds for the current group
|
||||||
|
|
||||||
augroup configgroup
|
augroup configgroup
|
||||||
autocmd!
|
autocmd!
|
||||||
|
|
||||||
|
" reset cursor on start:
|
||||||
|
autocmd VimEnter * silent !echo -en "\e[2 q"
|
||||||
|
" echo a blank line to avoid cluttering up the statusline
|
||||||
|
autocmd VimEnter * silent !echo
|
||||||
|
|
||||||
autocmd VimEnter * highlight clear SignColumn
|
autocmd VimEnter * highlight clear SignColumn
|
||||||
|
|
||||||
" Automatically open NERDTree when vim starts up without files specified
|
" Automatically open NERDTree when vim starts up without files specified
|
||||||
|
|
Loading…
Add table
Reference in a new issue