Commits

Antoine Pietri committed c8b092f

vimrc: syntastic: check headers

Comments (0)

Files changed (2)

 #bindcode $mod+d focus child
 
 # switch to workspace
-bindsym $mod+ampersand workspace 1
-bindsym $mod+eacute workspace 2
-bindsym $mod+quotedbl workspace 3
-bindsym $mod+apostrophe workspace 4
-bindsym $mod+parenleft workspace 5
-bindsym $mod+minus workspace 6
-bindsym $mod+egrave workspace 7
-bindsym $mod+underscore workspace 8
-bindsym $mod+ccedilla workspace 9
-bindsym $mod+agrave workspace 10
+#bindsym $mod+ampersand workspace 1
+#bindsym $mod+eacute workspace 2
+#bindsym $mod+quotedbl workspace 3
+#bindsym $mod+apostrophe workspace 4
+#bindsym $mod+parenleft workspace 5
+#bindsym $mod+minus workspace 6
+#bindsym $mod+egrave workspace 7
+#bindsym $mod+underscore workspace 8
+#bindsym $mod+ccedilla workspace 9
+#bindsym $mod+agrave workspace 10
 
 bindsym $mod+1 workspace 1
 bindsym $mod+2 workspace 2
 bindsym XF86AudioPlay exec mpc toggle
 
 # Lock & pm-suspend
-bindsym $mod+o exec --no-startup-id i3lock -i /home/antoine/Images/bsod.png -t
+bindsym $mod+o exec --no-startup-id i3lock -c 000000 -i /home/antoine/Images/bsod.png -t
 bindsym $mod+p exec --no-startup-id sudo pm-suspend & i3lock -i /home/antoine/Images/bsod.png -t
 
 set timeout timeoutlen=5000 ttimeoutlen=100
 
 let g:UltiSnipsSnippetDirectories = ["bundle/UltiSnips/UltiSnips", "snippets"]
+let g:syntastic_cpp_check_header = 1
 
 function! GnuIndent()
-    setlocal cinoptions=>4,n-2,{2,^-2,:2,=2,g0,h2,p5,t0,+2,(0,u0,w1,m1
+    setlocal cinoptions=>4,f0,n-2,{2,^-2,:2,=2,g0,h2,p5,t0,+0,(0,u0,w1,m1
     setlocal shiftwidth=2
     setlocal tabstop=8
 endfunction