From bb80e072f4530d57d7005c1e7efb88fb4b0f3ffe Mon Sep 17 00:00:00 2001 From: Von Random Date: Thu, 2 Feb 2017 19:50:11 +0300 Subject: [PATCH] scratchpad + vimwiki --- i3_config | 5 ++++- vimplugins | 7 ++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/i3_config b/i3_config index 1beed80..094cdf9 100644 --- a/i3_config +++ b/i3_config @@ -3,7 +3,7 @@ # Please see http://i3wm.org/docs/userguide.html for a complete reference! set $mod Mod4 -set $i3_term urxvtc +set $i3_term default-terminal-emulator set $i3_font -*-terminus-bold-*-*-*-14-*-*-*-*-*-iso10646-* 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="(?i)firefox" instance="^(?!Navigator$)"] 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 for_window [instance="sun-awt-X11-XFramePeer" title="(?i)kvm"] floating enable diff --git a/vimplugins b/vimplugins index b175c0d..8905654 100644 --- a/vimplugins +++ b/vimplugins @@ -20,7 +20,8 @@ Plug 'vim-airline/vim-airline' "airline Plug 'vim-airline/vim-airline-themes' "themes for airline Plug 'ctrlpvim/ctrlp.vim' "fuzzy file search 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 Plug 'neomake/neomake', { 'for': 'python' } "linter @@ -81,3 +82,7 @@ let g:neomake_info_sign={ \ 'text': 'i>', \ 'texthl': 'InfoMsg', \ } + +if expand('%:r') == 'index.wiki' + set titlestring=vimwiki +endif