Compare commits
No commits in common. "671dbd3bf9f4dcdcb8f518470b081912fae1da21" and "b2082f6aa1e9a4d4baaae7b7bb07bcf48ca498fd" have entirely different histories.
671dbd3bf9
...
b2082f6aa1
3 changed files with 1 additions and 18 deletions
10
init.vim
10
init.vim
|
@ -112,7 +112,7 @@ set mouse=nv
|
||||||
|
|
||||||
set gfn=DejaVu\ Sans\ Mono\ for\ Powerline:h13
|
set gfn=DejaVu\ Sans\ Mono\ for\ Powerline:h13
|
||||||
" from https://stackoverflow.com/a/51424640
|
" from https://stackoverflow.com/a/51424640
|
||||||
let s:fontsize = 14
|
let s:fontsize = 13
|
||||||
function! AdjustFontSize(amount)
|
function! AdjustFontSize(amount)
|
||||||
let s:fontsize = s:fontsize+a:amount
|
let s:fontsize = s:fontsize+a:amount
|
||||||
:execute "set gfn=DejaVu\\ Sans\\ Mono\\ for\\ Powerline:h" . s:fontsize
|
:execute "set gfn=DejaVu\\ Sans\\ Mono\\ for\\ Powerline:h" . s:fontsize
|
||||||
|
@ -122,11 +122,3 @@ noremap <C-Up> :call AdjustFontSize(1)<CR>
|
||||||
noremap <C-Down> :call AdjustFontSize(-1)<CR>
|
noremap <C-Down> :call AdjustFontSize(-1)<CR>
|
||||||
inoremap <C-Up> <Esc>:call AdjustFontSize(1)<CR>a
|
inoremap <C-Up> <Esc>:call AdjustFontSize(1)<CR>a
|
||||||
inoremap <C-Down> <Esc>:call AdjustFontSize(-1)<CR>a
|
inoremap <C-Down> <Esc>:call AdjustFontSize(-1)<CR>a
|
||||||
|
|
||||||
lua << EOF
|
|
||||||
require("trouble").setup {
|
|
||||||
-- your configuration comes here
|
|
||||||
-- or leave it empty to use the default settings
|
|
||||||
-- refer to the configuration section below
|
|
||||||
}
|
|
||||||
EOF
|
|
||||||
|
|
|
@ -30,10 +30,3 @@ nnoremap <silent> <Leader>rn <cmd>lua vim.lsp.buf.rename()<CR>
|
||||||
nnoremap <silent> g[ <cmd>lua vim.diagnostic.goto_prev()<CR>
|
nnoremap <silent> g[ <cmd>lua vim.diagnostic.goto_prev()<CR>
|
||||||
nnoremap <silent> g] <cmd>lua vim.diagnostic.goto_next()<CR>
|
nnoremap <silent> g] <cmd>lua vim.diagnostic.goto_next()<CR>
|
||||||
nnoremap <silent> gE <cmd>lua vim.diagnostic.setloclist()<CR>
|
nnoremap <silent> gE <cmd>lua vim.diagnostic.setloclist()<CR>
|
||||||
|
|
||||||
" work with Trouble to view lists of diagnostic warnings/ennoremap <leader>xx <cmd>TroubleToggle<cr>
|
|
||||||
nnoremap <leader>xw <cmd>TroubleToggle workspace_diagnostics<cr>
|
|
||||||
nnoremap <leader>xd <cmd>TroubleToggle document_diagnostics<cr>
|
|
||||||
nnoremap <leader>xq <cmd>TroubleToggle quickfix<cr>
|
|
||||||
nnoremap <leader>xl <cmd>TroubleToggle loclist<cr>
|
|
||||||
nnoremap gR <cmd>TroubleToggle lsp_references<cr>rrors
|
|
||||||
|
|
2
plug.vim
2
plug.vim
|
@ -13,8 +13,6 @@ Plug 'vim-airline/vim-airline-themes'
|
||||||
Plug 'mbbill/undotree'
|
Plug 'mbbill/undotree'
|
||||||
" Preferred color scheme
|
" Preferred color scheme
|
||||||
Plug 'fneu/breezy'
|
Plug 'fneu/breezy'
|
||||||
" diagnostics display
|
|
||||||
Plug 'folke/trouble.nvim'
|
|
||||||
|
|
||||||
|
|
||||||
" files, folders, projects, etc.
|
" files, folders, projects, etc.
|
||||||
|
|
Loading…
Reference in a new issue