From f9b60680e1e2c55d0a93ec0016cfcb0dbfa67f69 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Thu, 18 Jan 2018 15:04:45 +0100 Subject: Make minor changes --- vim/.vimrc | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'vim/.vimrc') diff --git a/vim/.vimrc b/vim/.vimrc index 517df88..2afe954 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -11,7 +11,6 @@ let maplocalleader = "," " }}} "" Plugins {{{ call plug#begin('~/.vim/plugged') -" Plug 'kopischke/vim-stay' Plug 'LnL7/vim-nix' Plug 'PotatoesMaster/i3-vim-syntax' @@ -39,7 +38,6 @@ Plug 'kshenoy/vim-signature' Plug 'lervag/vimtex' Plug 'machakann/vim-highlightedyank' Plug 'majutsushi/tagbar' -Plug 'mhinz/vim-startify' Plug 'neomake/neomake' Plug 'scrooloose/nerdtree' Plug 'sjl/Gundo.vim', { 'on' : 'GundoToggle' } @@ -124,6 +122,14 @@ nnoremap gc :Gcommit nnoremap gr :Gread nnoremap gd :Gdiff +" Heytmux +function! Call_heytmux(vm) + call feedkeys(":'[,']Heytmux ") +endfunction + +nmap gh :set opfunc=Call_heytmuxg@ +xmap gh :'<,'>Heytmux + " Iron let g:iron_map_defaults=0 let g:iron_repl_open_cmd='edit' @@ -153,13 +159,14 @@ endif " Airline let g:airline#extensions#whitespace#checks = [ 'indent', 'trailing', 'mixed-indent-file' ] -let g:airline#extensions#tabline#show_splits = 0 +let g:airline_symbols_ascii = 1 let g:airline#extensions#tabline#enabled = 1 +let g:airline#extensions#tabline#show_splits = 0 let g:airline#extensions#tabline#tab_nr_type = 1 let g:airline#extensions#tabline#formatter = 'unique_tail' let g:airline#extensions#tabline#tab_min_count = 2 let g:airline#extensions#tabline#show_buffers = 0 -let g:airline_symbols_ascii = 1 + " Deoplete let g:deoplete#enable_at_startup = 1 @@ -247,6 +254,7 @@ set nojoinspaces set noswapfile set nowrap set nowritebackup +set path=$PWD/** set shiftwidth=4 set showcmd set splitright @@ -352,6 +360,7 @@ augroup vimrc au FileType dirvish setlocal relativenumber au FileType tex set spell augroup END + " }}} "" My search {{{ if executable("ag") @@ -391,4 +400,5 @@ endfunction nmap co/ :call Cycle_searchprg() nmap g/ :set opfunc=My_searchg@ xmap g/ :call My_search(visualmode()) -"}}} + +" }}} -- cgit v1.2.3