" Highlight the symbol and its references when holding the cursor.Īutocmd CursorHold * silent call CocActionAsync('highlight ') " Use K to show documentation in preview window. " Use `:CocDiagnostics` to get all diagnostics of current buffer in location list. Inoremap pumvisible() ? coc#_select_confirm() " format on enter, could be remapped by other vim plugin " Make auto-select the first completion item and notify coc.nvim to " other plugin before putting this into your config. " NOTE: Use command ':verbose imap ' to make sure tab is not mapped by " Use tab for trigger completion with characters ahead and navigate. " Recently vim can merge signcolumn and number column into one " Always show the signcolumn, otherwise it would shift the text each time " Don 't pass messages to |ins-completion-menu|. " Having longer updatetime (default is 4000 ms = 4 s) leads to noticeable " Give more space for displaying messages. " Some servers have issues with backup files, see #649. " TextEdit might fail if hidden is not set. " unicode characters in the file autoload/float.vim " Map * and # search select word in VISUAL mode "xnoremap * :call # :call " If argc() & isdirectory(argv()) & !exists( "s:std_in") Let NERDTreeShowBookmarks = 1 " Display bookmarks on startup. Set history=200 " history of command "set mouse=n Set scrolljump=5 " Lines to scroll when cursor leaves screen Set incsearch " Highlight while searching with / or ?. Set showcmd " Show already typed keys when more are expected. Set showmode " Show current mode in command-line. Set display =lastline " Show as much as possible of the last line. Set laststatus =2 " Always show statusline. Set hidden " Switch between buffers without having to save first. Set backspace =indent,eol,start " Make backspace work as you would expect. " Auto-write the file based on some condition Set shiftround " > indents to next multiple of 'shiftwidth'. Set shiftwidth =4 " > indents by 4 spaces. Set softtabstop =4 " Tab key indents by 4 spaces. Set expandtab " Use spaces instead of tabs. Set autoindent " Indent according to previous line. " Map arrow keys nothing so I can get used to hjkl-style movement. Set wildmode=list:longest,full " Complete till longest string, Set wildmenu " Enable enhanced tab autocomplete. " command! Bd :bp | :sp | :bn | :bd " Close buffer without closing window. Highlight! TermCursorNC guibg=red guifg=white ctermbg=1 ctermfg=15 Silent! helptags ALL " Load help files for all plugins Let g:airline #extensions#tabline#fnamemod = ':t' let g:airline_powerline_fonts = 1 Let g:airline#extensions#tabline#enabled = 1 Let g:vimspector_enable_mappings = 'VISUAL_STUDIO'Ĭall minpac#add('tpope/vim-scriptease', )Ĭall minpac#add('jackguo380/vim-lsp-cxx-highlight')Ĭall minpac#add('puremourning/vimspector') #git clone ~/.vim/pack/minpac/opt/minpac " We set it explicitely to make our position clear!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |