mirror of
https://github.com/harish2704/dotFiles.git
synced 2026-09-10 15:21:09 +00:00
Overwriting files before grafting the new repo
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
snippet ok
|
||||
Object.keys(${1});
|
||||
endsnippet
|
||||
|
||||
snippet c
|
||||
const $1 = require('${2:$1}');
|
||||
endsnippet
|
||||
|
||||
snippet v
|
||||
var $1 = require('${2:$1}');
|
||||
endsnippet
|
||||
@@ -0,0 +1,4 @@
|
||||
snippet sn
|
||||
snippet ${1:snip1}
|
||||
${2}endsnippet
|
||||
endsnippet
|
||||
File diff suppressed because it is too large
Load Diff
@@ -48,9 +48,8 @@ let r_syntax_folding=1 " R
|
||||
let ruby_fold=1 " Ruby
|
||||
let sh_fold_enabled=1 " sh
|
||||
let vimsyn_folding='af' " Vim script
|
||||
let $FZF_DEFAULT_COMMAND='ag -ig ""'
|
||||
let $FZF_DEFAULT_COMMAND='ag -g ""'
|
||||
let g:gruvbox_contrast_dark = 'dark'
|
||||
let g:netrw_browse_split = 2
|
||||
|
||||
au BufEnter *.js.ejs set ft=javascript.ejs
|
||||
au BufEnter *.dart set ft=dart
|
||||
@@ -109,9 +108,6 @@ set sessionoptions=blank,buffers,curdir,tabpages,winsize,resize,winpos
|
||||
" }}}
|
||||
|
||||
|
||||
autocmd FileType go nmap <Leader>p :GoFmt<CR>
|
||||
let g:syntastic_go_checkers = ['gofmt']
|
||||
|
||||
" for JavaScript syntax checking {{{
|
||||
let g:syntastic_always_populate_loc_list = 1
|
||||
let g:syntastic_javascript_checkers = ['eslint']
|
||||
@@ -191,7 +187,6 @@ Plug 'ollykel/v-vim', { 'for': 'vlang' }
|
||||
Plug 'editorconfig/editorconfig-vim'
|
||||
Plug 'dart-lang/dart-vim-plugin', { 'for': 'dart' }
|
||||
Plug 'thosakwe/vim-flutter', { 'for': 'dart' }
|
||||
Plug 'fatih/vim-go', { 'for': 'go', 'do': ':GoUpdateBinaries' }
|
||||
" }
|
||||
|
||||
|
||||
@@ -287,6 +282,9 @@ vmap <C-s> <Esc><c-s>gv
|
||||
imap <C-s> <Esc><c-s>
|
||||
" }}}
|
||||
|
||||
" Alt-q Delete current buffer ( Close file )
|
||||
nmap <M-q> :bd<CR>
|
||||
|
||||
|
||||
" '\\es' or '<leader><leader>es' Open vimrc in a new tab
|
||||
execute( 'nmap <Leader><Leader>es :tabedit '. g:nvim_conf_root .'init.vim <CR>' )
|
||||
@@ -416,9 +414,6 @@ nmap <Leader><Leader>g :!git gui &<CR>
|
||||
" <Alt-R> -> Reload current file
|
||||
nmap <M-r> :e!<CR>
|
||||
|
||||
" Alt-q Delete current buffer ( Close file )
|
||||
nmap <M-q> :bd<CR>
|
||||
|
||||
" <Ctrl-Shift-q> force Close buffer
|
||||
nmap <M-Q> :bd!<CR>
|
||||
|
||||
@@ -430,7 +425,7 @@ vmap <C-f> "fy/<C-r>f
|
||||
" set guicursor=n-c:block,i-ci-ve:ver40,r-cr-v:hor20,o:hor50,a:blinkwait700-blinkoff400-blinkon250-Cursor/lCursor,sm:block-blinkwait175-blinkoff150-blinkon175
|
||||
set termguicolors
|
||||
|
||||
" command! -register CopyMatches call CopyMatches(<q-reg>)
|
||||
command! -register CopyMatches call CopyMatches(<q-reg>)
|
||||
|
||||
command! -register -range=% Unretab <line1>,<line2>call Unretab()
|
||||
" My custom commands {{{
|
||||
|
||||
Reference in New Issue
Block a user