Compare commits
16
Commits
master
..
9f67c16187
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9f67c16187 | ||
|
|
740e378a93 | ||
|
|
f9315e5aaf | ||
|
|
a242455732 | ||
|
|
7242d257d0 | ||
|
|
21d0beb2d9 | ||
|
|
1d7d4d0146 | ||
|
|
1b4ebe2c7c | ||
|
|
e33e6f476d | ||
|
|
8b66bc02b8 | ||
|
|
c10ba7c8a8 | ||
|
|
f7a88e4431 | ||
|
|
be250e2d9c | ||
|
|
c6d32f2b0f | ||
|
|
58eea72762 | ||
|
|
d508759e33 |
@@ -9,6 +9,11 @@
|
||||
"command": "/sbin/texlab",
|
||||
"filetypes": [ "tex","bib","plaintex","context" ]
|
||||
},
|
||||
"bash": {
|
||||
"command": "bash-language-server",
|
||||
"args": ["start"],
|
||||
"filetypes": ["sh","bash"]
|
||||
},
|
||||
"golang": {
|
||||
"command": "gopls",
|
||||
"rootPatterns": ["go.mod"],
|
||||
|
||||
@@ -8,6 +8,7 @@ Plug 'vim-airline/vim-airline'
|
||||
Plug 'vim-airline/vim-airline-themes'
|
||||
Plug 'scrooloose/nerdcommenter'
|
||||
Plug 'javier-lopez/sprunge.vim'
|
||||
Plug 'vim-scripts/Trailer-Trash'
|
||||
Plug 'vim-scripts/bad-whitespace'
|
||||
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
|
||||
Plug 'junegunn/fzf.vim'
|
||||
@@ -16,11 +17,10 @@ Plug 'vim-scripts/scons.vim'
|
||||
Plug 'danro/rename.vim'
|
||||
Plug 'ciaranm/detectindent'
|
||||
Plug 'jiangmiao/auto-pairs'
|
||||
Plug 'https://code.ortegas.org/nortega/vim-licenser.git'
|
||||
Plug 'antoyo/vim-licenses'
|
||||
Plug 'flazz/vim-colorschemes'
|
||||
Plug 'xiyaowong/transparent.nvim'
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||
Plug 'github/copilot.vim', {'branch': 'release'}
|
||||
call plug#end()
|
||||
filetype plugin indent on
|
||||
" to ignore plugin indent changes, instead use:
|
||||
@@ -30,8 +30,8 @@ filetype plugin on
|
||||
" indentation
|
||||
set tabstop=4 " tabs only count for 4 spaces
|
||||
set shiftwidth=4 " when indenting use 4 spaces
|
||||
set expandtab " don't use tab characters
|
||||
"set autoindent
|
||||
set expandtab " use tab characters
|
||||
set autoindent
|
||||
|
||||
" view
|
||||
set number
|
||||
@@ -41,8 +41,7 @@ set hlsearch " highlight found matches
|
||||
set incsearch nohlsearch " turn off hightlight after search
|
||||
set wrap
|
||||
set linebreak
|
||||
set list " disable line break on wrap
|
||||
set lcs=tab:»-,trail:·,leadmultispace:·,nbsp:·
|
||||
set nolist " disable line break on wrap
|
||||
|
||||
" folding
|
||||
set foldmethod=syntax
|
||||
@@ -103,12 +102,8 @@ nmap <silent><nowait> gr <Plug>(coc-references)
|
||||
" syntax highlighting
|
||||
syntax on
|
||||
set background=dark
|
||||
highlight Normal ctermbg=none
|
||||
colorscheme solarized8_dark
|
||||
highlight Normal ctermbg=none
|
||||
highlight Normal guibg=none
|
||||
highlight NonText guibg=none
|
||||
highlight Normal ctermbg=none
|
||||
highlight NonText ctermbg=none
|
||||
|
||||
""" Project-Specific Settings
|
||||
|
||||
@@ -155,15 +150,11 @@ let g:airline_symbols.whitespace = 'Ξ'
|
||||
let g:airline#extensions#whitespace#mixed_indent_algo = 2
|
||||
let g:airline#extensions#whitespace#checks = [ 'indent', 'long']
|
||||
|
||||
" vim-licenser
|
||||
let g:licenser_author = 'Nicolás A. Ortega <nicolas@ortegas.org>'
|
||||
" vim-licenses
|
||||
let g:licenses_copyright_holders_name = 'Nicolás Ortega Froysa <nicolas@ortegas.org>'
|
||||
let g:licenses_authors_name = 'Nicolás Ortega Froysa <nicolas@ortegas.org>'
|
||||
let g:licenses_default_command = [ 'Affero' ]
|
||||
|
||||
" FZF
|
||||
nnoremap <leader>f :Files<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
|
||||
nnoremap <leader>f :GFiles<CR>
|
||||
nnoremap <leader>F :tabnew<CR>:GFiles<CR>
|
||||
|
||||
Reference in New Issue
Block a user