rride_a avatar rride_a committed dd6e825

Qfix window key mapping

Comments (0)

Files changed (1)

 set wildmenu
 
 try
-  set stal=2 " show tab list always
+    set stal=2 " show tab list always
 catch
 endtry
 
+"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+" Copying to system buffer on MAC
+"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+
+if has("mac")
+    map <F5> :!pbcopy<CR>u
+endif
 
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 " No error sounds or visual blinking
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-":call Errorbells_off("beep") -- turns off beeps
-":call Errorbells_off("flash") -- turns off flashes
-":call Errorbells_off() -- turns off both
-
-function! Errorbells_off(...)
-  " control Vim's audio and visual warnings
-  " * Arguments:
-  " "beep": turn off just beeping
-  " "flash": turn off just flashing
-  " (empty): both off
-  " * Must be initialized after the GUI starts!
-  " off
-  if a:0 == 0
-    let myeb = ""
-  else
-    let myeb = a:1
-  endif
-  if myeb ==? "flash"
-    " audibly beep on error messages
-    set errorbells
-    " Screen flash on error (See also 't_vb')
-    set novisualbell
-    set t_vb=
-  elseif myeb ==? "beep"
-    " audibly beep on error messages
-    set noerrorbells
-    " Screen flash on error (See also 't_vb')
-    set visualbell
-    set t_vb&
-  elseif myeb ==? ""
-    " audibly beep on error messages
-    set noerrorbells
-    " Screen flash on error (See also 't_vb')
-    set visualbell
-    set t_vb=
-  endif
-endfunction
 
 set noerrorbells
-
 autocmd GUIEnter * set vb t_vb= " turn off verything after GUI starts. Nothing else seems to be working in GVim
 
-
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 " Syntax debugging
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 " faster creation of new tabs
 " map <C-T> :tabnew<cr>
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+" Quickfix mode
+
+"open the quickfix list and place it in the bottom of the screen
+map <Leader>co :copen<CR> <C-W>J 
+
+"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 "" Plugin key mappings
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 
 "nmap! <Leader>t		:TaskList<CR>
 nmap <Leader>nt		:NERDTreeToggle<CR>
 map <F8> :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q --exclude=".*.html" --languages=C++,C,Python .<CR> " 
 
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-" Copying to system buffer on MAC
-"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-if has("mac")
-    map <F5> :!pbcopy<CR>u
-endif
-
-"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 " Statusline
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 " Always show the statusline
     setlocal nomodifiable
     1
 endfunction
+
 if has("mac") || has("unix")
     if &shell == "/bin/bash"
         " this will make bash to read config file on startup
         set shellcmdflag=-login\ -c
     endif
 endif
+
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 " Development settings {{{
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.