From 007c8659cfbe390c65d7e0e768e248f876e6ed6e Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Thu, 7 Jul 2016 12:46:38 +0100 Subject: Add mappings to open and close quickfix window --- vim/.vimrc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'vim') diff --git a/vim/.vimrc b/vim/.vimrc index c6301c1..5e18bfa 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -4,6 +4,7 @@ let maplocalleader = "\\" "" Plugins call plug#begin('~/.vim/plugged') +Plug 'arpanpal010/vim-read' Plug 'dhruvasagar/vim-table-mode' Plug 'AndrewRadev/splitjoin.vim' Plug 'SirVer/ultisnips' @@ -40,6 +41,7 @@ Plug 'tommcdo/vim-exchange' Plug 'tpope/vim-abolish' Plug 'tpope/vim-commentary' Plug 'tpope/vim-dispatch' +Plug 'radenling/vim-dispatch-neovim' Plug 'tpope/vim-eunuch' Plug 'tpope/vim-fugitive' Plug 'tpope/vim-obsession' @@ -86,7 +88,7 @@ imap (fzf-complete-line) imap (fzf-complete-file) " LLDB -nnoremap n :LLsession new +nnoremap n :LLsession new nnoremap b LLBreakSwitch nnoremap c :LL continue nnoremap d :LLmode debug @@ -114,6 +116,7 @@ nnoremap cps :UltiSnipsEdit " Neomake nnoremap gm :Neomake! +nnoremap gr :Make run "" Plugin configurations @@ -216,7 +219,7 @@ let g:tex_flavor='latex' "" Vim options -set smartindent +set cindent set expandtab set tabstop=4 set softtabstop=4 @@ -237,7 +240,7 @@ set smartcase set ignorecase set lazyredraw set hidden -set fo+=or +set formatoptions+=orw silent! set breakindent let &showbreak='--> ' set clipboard=unnamedplus @@ -253,6 +256,9 @@ nnoremap q :q! nnoremap d :bd! nnoremap n :tabnew +nnoremap cqo :copen +nnoremap cqc :cclose + nnoremap got :call system('urxvt -cd '.getcwd().' &') nnoremap goT :call system('urxvt -cd '.expand("%:p:h").' &') -- cgit v1.2.3