Skip to content

Commit

Permalink
remove unused configs
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Aug 25, 2024
1 parent ca7946c commit 5c7d6fd
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions vimrc.vim
Original file line number Diff line number Diff line change
Expand Up @@ -207,28 +207,6 @@ endfunc
"----------------------------------------------------------------------
" Plugin settings
"----------------------------------------------------------------------
" Airline
let g:airline_powerline_fonts = 1
" Don't need to set this since Dracula includes a powerline theme
" let g:airline_theme = "powerlineish"

" CtrlP
let g:ctrlp_max_files = 10000
if has("unix")
let g:ctrlp_user_command = {
\ 'types': {
\ 1: ['.git', 'cd %s && git ls-files . -co --exclude-standard'],
\ 2: ['.hg', 'hg --cwd %s locate -I .'],
\ },
\ 'fallback': 'find %s -type f | head -' . g:ctrlp_max_files
\ }
endif

let g:ctrlp_buffer_func = { 'enter': 'MyCtrlPMappings' }

func! MyCtrlPMappings()
nnoremap <buffer> <silent> <c-@> :call <sid>DeleteBuffer()<cr>
endfunc

func! s:DeleteBuffer()
let line = getline('.')
Expand Down

0 comments on commit 5c7d6fd

Please sign in to comment.