adding vim
This commit is contained in:
parent
e3518b3ef9
commit
5bb59c4b60
@ -167,7 +167,7 @@ bindsym $mod+Shift+c reload
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
bindsym $mod+Shift+r restart
|
||||
# exit i3 (logs you out of your X session)
|
||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
|
||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'mate-session-save --logout'"
|
||||
|
||||
# resize window (you can also use the mouse for that)
|
||||
mode "resize" {
|
||||
|
@ -85,7 +85,7 @@ scroll-down = i3wm-wsprev
|
||||
[module/public-ip]
|
||||
type = custom/script
|
||||
exec = wget -qO - icanhazip.com
|
||||
interval = 60
|
||||
interval = 600
|
||||
label = %output%
|
||||
|
||||
format-background = ${xrdb:color5:#222}
|
||||
@ -344,6 +344,7 @@ format-padding = 2
|
||||
[module/vpn]
|
||||
type = custom/script
|
||||
exec = pgrep openvpn >/dev/null && printf "up\n" || printf "down\n"
|
||||
exec-if = pgrep -x openvpn
|
||||
interval = 5
|
||||
label = %output%
|
||||
;format-underline = #268bd2
|
||||
|
8
vim/.vimrc
Normal file
8
vim/.vimrc
Normal file
@ -0,0 +1,8 @@
|
||||
set nocompatible " be iMproved, required
|
||||
filetype off " required
|
||||
|
||||
so ~/.vim/plugins.vim
|
||||
|
||||
map <C-n> :NERDTreeToggle<CR>
|
||||
set laststatus=2
|
||||
set noshowmode
|
11
vim/plugins.vim
Normal file
11
vim/plugins.vim
Normal file
@ -0,0 +1,11 @@
|
||||
set rtp+=~/.vim/bundle/Vundle.vim
|
||||
|
||||
call vundle#begin()
|
||||
|
||||
Plugin 'scrooloose/nerdtree'
|
||||
Plugin 'itchyny/lightline.vim'
|
||||
Plugin 'airblade/vim-gitgutter'
|
||||
|
||||
call vundle#end()
|
||||
|
||||
filetype plugin indent on
|
Loading…
Reference in New Issue
Block a user