1
0
Fork 0

gvimwiki + a bit of tweaks for statusline

This commit is contained in:
Von Random 2017-02-17 11:40:37 +03:00
parent 0a6b7936c7
commit 43a926955e
2 changed files with 5 additions and 4 deletions

View file

@ -182,8 +182,9 @@ for_window [class="Qmmp"] floating enable
for_window [class="Vncviewer"] floating enable
for_window [class="(?i)firefox" instance="^(?!Navigator$)"] floating enable
for_window [title="^Cacti - Realtime"] floating enable
# vimwiki to scratchpad
# vimwiki to scratchpad (gvim included)
for_window [instance="vimwiki"] move scratchpad, scratchpad show
for_window [class="Gvim" title="vimwiki"] move scratchpad, scratchpad show
bindsym $mod+n scratchpad show
# java KVM
for_window [instance="sun-awt-X11-XFramePeer" title="(?i)kvm"] floating enable

6
vimrc
View file

@ -11,11 +11,11 @@ set scrolloff=3 sidescrolloff=15 sidescroll=1
set noerrorbells visualbell t_vb=
" indentation
set tabstop=3 softtabstop=4 shiftwidth=4 smarttab expandtab
" status line
set wildmenu showcmd ruler laststatus=2
set statusline=%F\ %m%r%h%w%=%y\ [%{&ff}]\ [%4l/%L:%3v]\ [%3p%%]
" termcap fixes
set t_Co=256 t_ut= termencoding=utf-8 encoding=utf-8
" status line
set wildmenu showcmd ruler laststatus=2
set statusline=%F\ %m%r%h%w%=%{&fenc}/%{&ff}\ %y\ [%4l/%L:%3v]\ [%3p%%]
" enable case indentation
let g:sh_indent_case_labels=1
" version specific settings