Compare commits
No commits in common. "f86c799de7b5963fbdd71cb9fc6ecf7ab60a07f1" and "beb19008715825962e5d7d8448a113b9e4aa859b" have entirely different histories.
f86c799de7
...
beb1900871
@ -116,10 +116,6 @@ highlight GitGutterAdd ctermfg=green
|
|||||||
highlight GitGutterChange ctermfg=yellow
|
highlight GitGutterChange ctermfg=yellow
|
||||||
highlight GitGutterDelete ctermfg=red
|
highlight GitGutterDelete ctermfg=red
|
||||||
|
|
||||||
" fancy picker stuff
|
|
||||||
|
|
||||||
source $XDG_CONFIG_HOME/nvim/telescope.vim
|
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
source $XDG_CONFIG_HOME/nvim/color.vim
|
source $XDG_CONFIG_HOME/nvim/color.vim
|
||||||
|
@ -38,7 +38,6 @@ local on_attach = function(client, bufnr)
|
|||||||
buf_set_keymap('n', 'gs', '<cmd>lua vim.lsp.buf.signature_help()<CR>', opts)
|
buf_set_keymap('n', 'gs', '<cmd>lua vim.lsp.buf.signature_help()<CR>', opts)
|
||||||
buf_set_keymap('n', 'gt', '<cmd>lua vim.lsp.buf.type_definition()<CR>', opts)
|
buf_set_keymap('n', 'gt', '<cmd>lua vim.lsp.buf.type_definition()<CR>', opts)
|
||||||
buf_set_keymap('n', '<space>rn', '<cmd>lua vim.lsp.buf.rename()<CR>', opts)
|
buf_set_keymap('n', '<space>rn', '<cmd>lua vim.lsp.buf.rename()<CR>', opts)
|
||||||
buf_set_keymap('n', '<space>ss', '<cmd>lua vim.lsp.buf.workspace_symbol()<CR>', opts)
|
|
||||||
buf_set_keymap('n', 'gr', '<cmd>lua vim.lsp.buf.references()<CR>', opts)
|
buf_set_keymap('n', 'gr', '<cmd>lua vim.lsp.buf.references()<CR>', opts)
|
||||||
buf_set_keymap('n', '<space>e', '<cmd>lua vim.lsp.diagnostic.show_line_diagnostics()<CR>', opts)
|
buf_set_keymap('n', '<space>e', '<cmd>lua vim.lsp.diagnostic.show_line_diagnostics()<CR>', opts)
|
||||||
buf_set_keymap('n', '[d', '<cmd>lua vim.lsp.diagnostic.goto_prev()<CR>', opts)
|
buf_set_keymap('n', '[d', '<cmd>lua vim.lsp.diagnostic.goto_prev()<CR>', opts)
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
Plug 'nvim-telescope/telescope.nvim', { 'branch': '0.1.x' }
|
|
||||||
Plug 'nvim-lua/plenary.nvim', { 'branch': '0.1.x' }
|
|
||||||
|
|
||||||
nnoremap <leader>ef <cmd>Telescope find_files<cr>
|
|
||||||
nnoremap <leader>eg <cmd>Telescope live_grep<cr>
|
|
||||||
nnoremap <leader>em <cmd>Telescope buffers<cr>
|
|
||||||
nnoremap <leader>eh <cmd>Telescope help_tags<cr>
|
|
||||||
nnoremap <leader>es <cmd>Telescope lsp_document_symbols<cr>
|
|
||||||
nnoremap <leader>eb <cmd>Telescope keymaps<cr>
|
|
@ -1,6 +1,5 @@
|
|||||||
snippet problem "template for problem notes" bi
|
snippet problem "template for problem notes" bi
|
||||||
#import "/templates/problems.typ": template, source_code, status, lref
|
#import "/templates/problems.typ": template, source_code, status, lref
|
||||||
#import "/templates/libs.typ": *
|
|
||||||
#show: template.with(
|
#show: template.with(
|
||||||
problem_url: "$1",
|
problem_url: "$1",
|
||||||
title: "$2",
|
title: "$2",
|
||||||
@ -11,7 +10,6 @@ endsnippet
|
|||||||
|
|
||||||
snippet index "template for index documents" bi
|
snippet index "template for index documents" bi
|
||||||
#import "/templates/index.typ": template, lref
|
#import "/templates/index.typ": template, lref
|
||||||
#import "/templates/libs.typ": *
|
|
||||||
#show: template.with(
|
#show: template.with(
|
||||||
title: "$1",
|
title: "$1",
|
||||||
)
|
)
|
||||||
@ -20,7 +18,6 @@ endsnippet
|
|||||||
|
|
||||||
snippet sfd "template for lecture notes" bi
|
snippet sfd "template for lecture notes" bi
|
||||||
#import "/templates/sfd.typ": template, lref
|
#import "/templates/sfd.typ": template, lref
|
||||||
#import "/templates/libs.typ": *
|
|
||||||
#show: template.with(
|
#show: template.with(
|
||||||
lecture_url: "$1",
|
lecture_url: "$1",
|
||||||
title: "$2",
|
title: "$2",
|
||||||
@ -30,8 +27,6 @@ endsnippet
|
|||||||
|
|
||||||
snippet chem "template for chemistry notes" bi
|
snippet chem "template for chemistry notes" bi
|
||||||
#import "/templates/chem.typ": template, lref, chem, gaz, liq, sol, aq
|
#import "/templates/chem.typ": template, lref, chem, gaz, liq, sol, aq
|
||||||
#import "/templates/libs.typ": *
|
|
||||||
|
|
||||||
#show: template.with(
|
#show: template.with(
|
||||||
title: "$1",
|
title: "$1",
|
||||||
)
|
)
|
||||||
@ -47,7 +42,6 @@ endsnippet
|
|||||||
|
|
||||||
snippet contest "template for contest problems" bi
|
snippet contest "template for contest problems" bi
|
||||||
#import "/templates/contest.typ": template, source_code, status, lref
|
#import "/templates/contest.typ": template, source_code, status, lref
|
||||||
#import "/templates/libs.typ": *
|
|
||||||
#show: template.with(
|
#show: template.with(
|
||||||
title: "$1",
|
title: "$1",
|
||||||
stat: "${2:incomplete}",
|
stat: "${2:incomplete}",
|
||||||
@ -57,7 +51,6 @@ endsnippet
|
|||||||
|
|
||||||
snippet algs "template for compsci notes" bi
|
snippet algs "template for compsci notes" bi
|
||||||
#import "/templates/algs.typ": template, source_code, lref
|
#import "/templates/algs.typ": template, source_code, lref
|
||||||
#import "/templates/libs.typ": *
|
|
||||||
#show: template.with(
|
#show: template.with(
|
||||||
title: "$1",
|
title: "$1",
|
||||||
)
|
)
|
||||||
@ -66,7 +59,6 @@ endsnippet
|
|||||||
|
|
||||||
snippet general "general template" bi
|
snippet general "general template" bi
|
||||||
#import "/templates/general.typ": template, lref
|
#import "/templates/general.typ": template, lref
|
||||||
#import "/templates/libs.typ": *
|
|
||||||
#show: template.with(
|
#show: template.with(
|
||||||
title: "$1",
|
title: "$1",
|
||||||
)
|
)
|
||||||
@ -75,7 +67,6 @@ endsnippet
|
|||||||
|
|
||||||
snippet math_prob "template for math problems" bi
|
snippet math_prob "template for math problems" bi
|
||||||
#import "/templates/math_prob.typ": template, lref
|
#import "/templates/math_prob.typ": template, lref
|
||||||
#import "/templates/libs.typ": *
|
|
||||||
#show: template.with(
|
#show: template.with(
|
||||||
title: "$1",
|
title: "$1",
|
||||||
)
|
)
|
||||||
@ -84,7 +75,6 @@ endsnippet
|
|||||||
|
|
||||||
snippet math_notes "template for math notes" bi
|
snippet math_notes "template for math notes" bi
|
||||||
#import "/templates/math_notes.typ": template, lref
|
#import "/templates/math_notes.typ": template, lref
|
||||||
#import "/templates/libs.typ": *
|
|
||||||
#show: template.with(
|
#show: template.with(
|
||||||
title: "$1",
|
title: "$1",
|
||||||
)
|
)
|
||||||
@ -93,7 +83,6 @@ endsnippet
|
|||||||
|
|
||||||
snippet proj "template for project documents" bi
|
snippet proj "template for project documents" bi
|
||||||
#import "/templates/proj.typ": template, lref
|
#import "/templates/proj.typ": template, lref
|
||||||
#import "/templates/libs.typ": *
|
|
||||||
#show: template.with(
|
#show: template.with(
|
||||||
title: "$1",
|
title: "$1",
|
||||||
)
|
)
|
||||||
@ -125,13 +114,3 @@ snippet figp "create new image figure" bi
|
|||||||
caption: [$2],
|
caption: [$2],
|
||||||
) <$1>
|
) <$1>
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet tabl "create new tablex table" bi
|
|
||||||
#figure(
|
|
||||||
tablef(columns: $1,
|
|
||||||
$0
|
|
||||||
),
|
|
||||||
caption: [$2],
|
|
||||||
kind: table,
|
|
||||||
) <$3>
|
|
||||||
endsnippet
|
|
||||||
|
@ -87,7 +87,6 @@ export PATH="$PATH":~/.local/bin/pyinstantref
|
|||||||
|
|
||||||
export PATH="$PATH":"$XDG_DATA_HOME"/npm/bin
|
export PATH="$PATH":"$XDG_DATA_HOME"/npm/bin
|
||||||
export PATH="$PATH":"$XDG_DATA_HOME"/go/bin
|
export PATH="$PATH":"$XDG_DATA_HOME"/go/bin
|
||||||
export PATH="$PATH":"$XDG_DATA_HOME"/cargo/bin
|
|
||||||
|
|
||||||
# cppman can't set it itself for some reason
|
# cppman can't set it itself for some reason
|
||||||
export MANPATH="$MANPATH":~/.cache/cppman/
|
export MANPATH="$MANPATH":~/.cache/cppman/
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
# config.bind(",fL", "hint links userscript fixlink.sh -t")
|
# config.bind(",fL", "hint links userscript fixlink.sh -t")
|
||||||
#
|
#
|
||||||
|
|
||||||
REDDIT="old.reddit.com"
|
REDDIT="reddit.baby"
|
||||||
TWITTER="nitter.net"
|
TWITTER="nitter.net"
|
||||||
# genius lyrics
|
# genius lyrics
|
||||||
GENIUS="sing.whatever.social"
|
GENIUS="sing.whatever.social"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user