1
0

Compare commits

..

4 Commits

2 changed files with 10 additions and 8 deletions

View File

@@ -9,11 +9,6 @@
"command": "/sbin/texlab", "command": "/sbin/texlab",
"filetypes": [ "tex","bib","plaintex","context" ] "filetypes": [ "tex","bib","plaintex","context" ]
}, },
"bash": {
"command": "bash-language-server",
"args": ["start"],
"filetypes": ["sh","bash"]
},
"golang": { "golang": {
"command": "gopls", "command": "gopls",
"rootPatterns": ["go.mod"], "rootPatterns": ["go.mod"],

View File

@@ -21,6 +21,7 @@ Plug 'antoyo/vim-licenses'
Plug 'flazz/vim-colorschemes' Plug 'flazz/vim-colorschemes'
Plug 'xiyaowong/transparent.nvim' Plug 'xiyaowong/transparent.nvim'
Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'github/copilot.vim', {'branch': 'release'}
call plug#end() call plug#end()
filetype plugin indent on filetype plugin indent on
" to ignore plugin indent changes, instead use: " to ignore plugin indent changes, instead use:
@@ -30,7 +31,7 @@ filetype plugin on
" indentation " indentation
set tabstop=4 " tabs only count for 4 spaces set tabstop=4 " tabs only count for 4 spaces
set shiftwidth=4 " when indenting use 4 spaces set shiftwidth=4 " when indenting use 4 spaces
set expandtab " use tab characters set noexpandtab " use tab characters
set autoindent set autoindent
" view " view
@@ -156,5 +157,11 @@ let g:licenses_authors_name = 'Nicolás Ortega Froysa <nicolas@ortegas.org>'
let g:licenses_default_command = [ 'Affero' ] let g:licenses_default_command = [ 'Affero' ]
" FZF " FZF
nnoremap <leader>f :GFiles<CR> nnoremap <leader>f :Files<CR>
nnoremap <leader>F :tabnew<CR>:GFiles<CR> nnoremap <leader>F :tabnew<CR>:Files<CR>
nnoremap <leader>g :GFiles<CR>
nnoremap <leader>G :tabnew<CR>:GFiles<CR>
" Copilot
imap <silent><script><expr> <C-J> copilot#Accept("\<CR>")
let g:copilot_no_tab_map = v:true