Compare commits
3 Commits
21913203ff
...
083aa183eb
Author | SHA1 | Date | |
---|---|---|---|
083aa183eb | |||
2e2d8ab300 | |||
ed92d2b650 |
@ -4,3 +4,6 @@ commodity $
|
||||
format $1,000.00
|
||||
nomarket
|
||||
default
|
||||
|
||||
# show everything in dollars
|
||||
--exchange $
|
||||
|
@ -23,3 +23,12 @@ source $XDG_CONFIG_HOME/nvim/vimspector.vim
|
||||
" bracket closing
|
||||
Plug 'jiangmiao/auto-pairs'
|
||||
let g:AutoPairsShortcutToggle = "@@"
|
||||
|
||||
" improved error list
|
||||
Plug 'folke/trouble.nvim'
|
||||
nnoremap <leader>dxx <cmd>TroubleToggle<cr>
|
||||
nnoremap <leader>dxw <cmd>TroubleToggle workspace_diagnostics<cr>
|
||||
nnoremap <leader>dxd <cmd>TroubleToggle document_diagnostics<cr>
|
||||
nnoremap <leader>dxq <cmd>TroubleToggle quickfix<cr>
|
||||
nnoremap <leader>dxl <cmd>TroubleToggle loclist<cr>
|
||||
nnoremap gR <cmd>TroubleToggle lsp_references<cr>
|
||||
|
@ -126,3 +126,19 @@ cmp.setup({
|
||||
{ name = 'buffer' },
|
||||
})
|
||||
})
|
||||
|
||||
-- improved error list
|
||||
require('trouble').setup({
|
||||
icons = false,
|
||||
fold_open = "v", -- icon used for open folds
|
||||
fold_closed = ">", -- icon used for closed folds
|
||||
indent_lines = false, -- add an indent guide below the fold icons
|
||||
signs = {
|
||||
-- icons / text used for a diagnostic
|
||||
error = "error",
|
||||
warning = "warn",
|
||||
hint = "hint",
|
||||
information = "info"
|
||||
},
|
||||
use_diagnostic_signs = false -- enabling this will use the signs defined in your lsp client
|
||||
})
|
||||
|
@ -4,7 +4,7 @@
|
||||
TMPFILE="$(mktemp)"
|
||||
|
||||
#xsel -b > "$TMPFILE"
|
||||
st -g 60x8+0+800 -n popup-bottom-center \
|
||||
st -g 60x8+0+800 -c popup-bottom-center \
|
||||
-e nvim -c "set binary noeol" -c "startinsert" "$TMPFILE" -c "highlight Normal ctermbg=016"
|
||||
cat "$TMPFILE" | xsel -ib
|
||||
rm "$TMPFILE"
|
||||
|
Loading…
x
Reference in New Issue
Block a user