Compare commits
1 Commits
1d9912cfb4
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 9fc5777f29 |
@@ -8,11 +8,6 @@
|
|||||||
"latex": {
|
"latex": {
|
||||||
"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",
|
||||||
|
|||||||
7
init.vim
7
init.vim
@@ -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
|
||||||
@@ -160,3 +161,7 @@ nnoremap <leader>f :Files<CR>
|
|||||||
nnoremap <leader>F :tabnew<CR>:Files<CR>
|
nnoremap <leader>F :tabnew<CR>:Files<CR>
|
||||||
nnoremap <leader>g :GFiles<CR>
|
nnoremap <leader>g :GFiles<CR>
|
||||||
nnoremap <leader>G :tabnew<CR>: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
|
||||||
|
|||||||
Reference in New Issue
Block a user