Skip to content

Instantly share code, notes, and snippets.

@igorgue
Created April 21, 2020 22:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igorgue/39c516464c1a36bdccdcf1e844dd461d to your computer and use it in GitHub Desktop.
Save igorgue/39c516464c1a36bdccdcf1e844dd461d to your computer and use it in GitHub Desktop.
HackingMode
"PresentationMode
"colorscheme danger
"colorscheme ir_black
set relativenumber
set number
set nofoldenable
" Some fonts to check
"set guifont=mononoki\ Nerd\ Font\ Mono\ 12
"set guifont=RobotoMono\ Nerd\ Font\ Regular\ 10
"set guifont=FuraMono\ Nerd\ Font\ 14
"set guifont=FuraCode\ Nerd\ Font\ Mono\ weight=450\ 14
"set guifont=Input\ 14
set guifont=Iosevka\ Term\ Regular\ 14
function Font12()
set guifont=Iosevka\ Term\ Regular\ 12
endfunction
command! Font12 call Font12()
function Font14()
set guifont=Iosevka\ Term\ Regular\ 14
endfunction
command! Font14 call Font14()
function Font16()
set guifont=Iosevka\ Term\ Regular\ 16
endfunction
command! Font16 call Font16()
au FileType html set softtabstop=2 tabstop=2 shiftwidth=2
au FileType yml set softtabstop=2 tabstop=2 shiftwidth=2
au FileType vue set softtabstop=2 tabstop=2 shiftwidth=2
au FileType javascript set softtabstop=2 tabstop=2 shiftwidth=2
au FileType js set softtabstop=2 tabstop=2 shiftwidth=2
let g:gist_clip_command = 'xsel --clipboard --inputset'
" Remove Toolbar
set guioptions-=T
" Remove scrollbars
set guioptions-=L
set guioptions-=r
" Remove menu
"set guioptions-=m
" Clipboard changes
"set clipboard=unnamedplus
" shortcut to map y to Y
"noremap y Y
set wildignore+=*/tmp/*,*/env/*,*/env.docker/*,*/node_modules/*,*/lib/*,*.so,*.swp,*.zip
let g:ctrlp_custom_ignore = 'tests\/reports\|target\|DS_Store\|git\|node_modules\|lib'
"let g:ycm_filetype_specific_completion_to_disable = { 'python': 1 }
set completeopt+=menuone " show the popup menu even when there is only 1 match
"set completeopt+=noinsert " don't insert any text until user chooses a match
"set completeopt-=longest " don't insert the longest common text
set completeopt+=preview
autocmd CompleteDone * if !pumvisible() | pclose | endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment