1
0
Fork 0

scratchpad + vimwiki

This commit is contained in:
Von Random 2017-02-02 19:50:11 +03:00
parent a7ea7c9641
commit bb80e072f4
2 changed files with 10 additions and 2 deletions

View file

@ -3,7 +3,7 @@
# Please see http://i3wm.org/docs/userguide.html for a complete reference! # Please see http://i3wm.org/docs/userguide.html for a complete reference!
set $mod Mod4 set $mod Mod4
set $i3_term urxvtc set $i3_term default-terminal-emulator
set $i3_font -*-terminus-bold-*-*-*-14-*-*-*-*-*-iso10646-* set $i3_font -*-terminus-bold-*-*-*-14-*-*-*-*-*-iso10646-*
set $dmenu_font xos4 Terminus:Bold:pixelsize=14 set $dmenu_font xos4 Terminus:Bold:pixelsize=14
@ -182,6 +182,9 @@ for_window [class="Qmmp"] floating enable
for_window [class="Vncviewer"] floating enable for_window [class="Vncviewer"] floating enable
for_window [class="(?i)firefox" instance="^(?!Navigator$)"] floating enable for_window [class="(?i)firefox" instance="^(?!Navigator$)"] floating enable
for_window [title="^Cacti - Realtime"] floating enable for_window [title="^Cacti - Realtime"] floating enable
# vimwiki to scratchpad
for_window [instance="vimwiki"] move scratchpad, scratchpad show
bindsym $mod+n scratchpad show
# java KVM # java KVM
for_window [instance="sun-awt-X11-XFramePeer" title="(?i)kvm"] floating enable for_window [instance="sun-awt-X11-XFramePeer" title="(?i)kvm"] floating enable

View file

@ -20,7 +20,8 @@ Plug 'vim-airline/vim-airline' "airline
Plug 'vim-airline/vim-airline-themes' "themes for airline Plug 'vim-airline/vim-airline-themes' "themes for airline
Plug 'ctrlpvim/ctrlp.vim' "fuzzy file search Plug 'ctrlpvim/ctrlp.vim' "fuzzy file search
Plug 'tpope/vim-fugitive' "moar git awesomeness Plug 'tpope/vim-fugitive' "moar git awesomeness
"Plug 'sheerun/vim-polyglot' "syntax Plug 'vimwiki/vimwiki' "vimwiki
Plug 'sheerun/vim-polyglot' "syntax
" python, uncomment when needed " python, uncomment when needed
Plug 'neomake/neomake', { 'for': 'python' } "linter Plug 'neomake/neomake', { 'for': 'python' } "linter
@ -81,3 +82,7 @@ let g:neomake_info_sign={
\ 'text': 'i>', \ 'text': 'i>',
\ 'texthl': 'InfoMsg', \ 'texthl': 'InfoMsg',
\ } \ }
if expand('%:r') == 'index.wiki'
set titlestring=vimwiki
endif