From 965a52ac2b20d0177719c86dc2a1d18903e9a017 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Sun, 31 Oct 2021 05:14:00 +0330 Subject: updates --- baseline/.vimrc | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'baseline') diff --git a/baseline/.vimrc b/baseline/.vimrc index 29f5659..fada8b3 100644 --- a/baseline/.vimrc +++ b/baseline/.vimrc @@ -2,6 +2,8 @@ set encoding=UTF-8 let mapleader = " " set nocompatible set completeopt-=preview +set completeopt+=menuone +set completeopt+=noselect filetype off set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() @@ -20,6 +22,7 @@ Plugin 'mbbill/undotree' Plugin 'tpope/vim-commentary' Plugin 'wellle/context.vim' Plugin 'roxma/vim-tmux-clipboard' +Plugin 'lifepillar/vim-mucomplete' call vundle#end() filetype plugin indent on @@ -31,7 +34,7 @@ let g:jellybeans_overrides = { \ 'Todo': { 'guifg': '000000', 'guibg': '00cc00', \ 'ctermfg': 'Black', 'ctermbg': 'Blue', \ 'attr': 'bold' }, -\ 'Comment': { 'guifg': '339966' }, +\ 'Comment': { 'guibg': '339966', 'guifg': '000000' }, \ 'background': { "guibg": "000000", "ctermbg":"none"}, \ 'StorageClass': {"guifg": '9966ff' }, \ 'Exception': {"guifg": "99cc00"}, @@ -101,12 +104,15 @@ set pastetoggle= nnoremap cd :cd %:p:h nmap ]c :cn nmap [c :cp +nnoremap nn :bn +nnoremap pp :bp cnoremap cnoremap -nnoremap k gk -nnoremap gk k -nnoremap j gj -nnoremap gj j +" nnoremap k gk +" nnoremap gk k +" nnoremap j gj +" nnoremap gj j +nmap m :make function! GetBufferList() redir =>buflist @@ -309,6 +315,9 @@ if has('cscope') command -nargs=0 Cscope cs add $VIMSRC/src/cscope.out $VIMSRC/src endif +let g:mucomplete#enable_auto_at_startup = 1 +let g:mucomplete#completion_delay = 1 + if has("gui") set guifont=DejaVu_Sans_Mono_for_Powerline:h10 set guioptions-=m -- cgit v1.2.3