mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
Compare commits
76 commits
d7ecf6fd81
...
f1fc34923c
Author | SHA1 | Date | |
---|---|---|---|
|
f1fc34923c | ||
|
2966ad4956 | ||
|
440a7beb72 | ||
|
256e8b6ee7 | ||
|
73db4b0cd4 | ||
|
edba153561 | ||
|
49e1e7f9d5 | ||
|
17969ceae8 | ||
|
0554766831 | ||
|
f41a6ab25b | ||
|
342ff91de2 | ||
|
f0da78626d | ||
|
4ca270760b | ||
|
d2f964c742 | ||
|
75d79fc13c | ||
|
567aa704e3 | ||
|
48d0461546 | ||
|
d3ac2b5d8a | ||
|
50793f84a9 | ||
|
b27bb07d9d | ||
|
3730b40d25 | ||
|
c23ce14d05 | ||
|
0ad9eee709 | ||
|
20e0b37e6c | ||
|
9a11e2457d | ||
|
fb71948e1f | ||
|
b2aa50c348 | ||
|
ad72eb8225 | ||
|
6194a31ea3 | ||
|
570b46adc3 | ||
|
bbf5b0afea | ||
|
23c2294019 | ||
|
42bff9956b | ||
|
d68351e2fd | ||
|
a7ce0f3964 | ||
|
e2cbaa27ae | ||
|
fad6dbd24c | ||
|
e6c3cc6320 | ||
|
004333c498 | ||
|
1efbda9d39 | ||
|
dda36eeab0 | ||
|
2e6af7fd03 | ||
|
37836b0a54 | ||
|
d6ecc51b23 | ||
|
31daec6228 | ||
|
890164ff14 | ||
|
8c27b5d89a | ||
|
55671147bd | ||
|
3d0e89e4e4 | ||
|
c03b35eaf5 | ||
|
b0fc4cfa53 | ||
|
38e6f38c2a | ||
|
7ca2f7153e | ||
|
b147edb966 | ||
|
24eaaef52d | ||
|
913fb6536d | ||
|
c2403810f2 | ||
|
2303e9b4ee | ||
|
6e3c73854f | ||
|
c9c104942b | ||
|
97c107b927 | ||
|
bf382b8cbf | ||
|
5f76514247 | ||
|
91e3b15511 | ||
|
3c6898f5f4 | ||
|
b7d0c56360 | ||
|
09a43723a4 | ||
|
4484a842da | ||
|
6e946c6c6d | ||
|
ae0d28b851 | ||
|
1286d508fb | ||
|
a138dcc640 | ||
|
67f297f77b | ||
|
dcb08779ea | ||
|
9e2eab6e0c | ||
|
296d65e319 |
10 changed files with 3043 additions and 30 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit 9e6941eeb7728f0ceadffb501f473a08837098ac
|
Subproject commit 3cf5d36805457bc82bb33e88ee317d0a2710d8e4
|
|
@ -1,2 +0,0 @@
|
||||||
call extend(g:dotfiles_coc_extensions, {'coc-cl': 1})
|
|
||||||
call extend(g:dotfiles_coc_filetypes, {'lsp': 1})
|
|
2
nvim/coc-languages/tex.vim
Normal file
2
nvim/coc-languages/tex.vim
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
call extend(g:dotfiles_coc_extensions, {'coc-vimtex': 1})
|
||||||
|
call extend(g:dotfiles_coc_filetypes, {'tex': 1, 'cls': 1})
|
|
@ -1,48 +1,58 @@
|
||||||
let s:plug = funcref('dotfiles#plugman#register')
|
let s:plug = funcref('dotfiles#plugman#register')
|
||||||
|
|
||||||
" UI {{{
|
" UI {{{
|
||||||
|
if has('nvim')
|
||||||
call s:plug('romgrk/barbar.nvim')
|
call s:plug('romgrk/barbar.nvim')
|
||||||
call s:plug('hoob3rt/lualine.nvim')
|
call s:plug('hoob3rt/lualine.nvim')
|
||||||
|
endif
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" Navigation {{{
|
" Navigation {{{
|
||||||
|
if has('nvim')
|
||||||
call s:plug('nvim-telescope/telescope.nvim') " dependencies {{{
|
call s:plug('nvim-telescope/telescope.nvim') " dependencies {{{
|
||||||
call s:plug('nvim-lua/plenary.nvim')
|
call s:plug('nvim-lua/plenary.nvim')
|
||||||
" }}}
|
" }}}
|
||||||
|
endif
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" Files {{{
|
" Files {{{
|
||||||
call s:plug('preservim/nerdtree')
|
if has('nvim')
|
||||||
call s:plug('kyazdani42/nvim-web-devicons')
|
call s:plug('kyazdani42/nvim-web-devicons')
|
||||||
call s:plug('akinsho/nvim-toggleterm.lua')
|
call s:plug('akinsho/nvim-toggleterm.lua')
|
||||||
|
endif
|
||||||
|
call s:plug('preservim/nerdtree')
|
||||||
call s:plug('antoyo/vim-licenses')
|
call s:plug('antoyo/vim-licenses')
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" Language specific {{{
|
" Language specific {{{
|
||||||
call s:plug('alaviss/nim.nvim')
|
if has('nvim')
|
||||||
call s:plug('stevearc/vim-arduino')
|
|
||||||
call s:plug('xiyaowong/coc-nvim-lua')
|
call s:plug('xiyaowong/coc-nvim-lua')
|
||||||
call s:plug('luke-gru/vim-riml')
|
call s:plug('alaviss/nim.nvim')
|
||||||
call s:plug('bhurlow/vim-parinfer')
|
|
||||||
call s:plug('vim-scripts/newlisp')
|
|
||||||
if has('unix')
|
if has('unix')
|
||||||
call s:plug('nvim-neorg/neorg', { 'branch': 'unstable' }) " dependencies {{{
|
call s:plug('nvim-neorg/neorg', { 'branch': 'unstable' }) " dependencies {{{
|
||||||
call s:plug('nvim-treesitter/nvim-treesitter', { 'do': ':TSUpdate' })
|
call s:plug('nvim-treesitter/nvim-treesitter', { 'do': ':TSUpdate' })
|
||||||
" }}}
|
" }}}
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
call s:plug('lervag/vimtex')
|
||||||
|
call s:plug('stevearc/vim-arduino')
|
||||||
|
call s:plug('luke-gru/vim-riml')
|
||||||
|
call s:plug('bhurlow/vim-parinfer')
|
||||||
|
call s:plug('vim-scripts/newlisp')
|
||||||
call s:plug('noahfrederick/vim-laravel') " dependencies {{{
|
call s:plug('noahfrederick/vim-laravel') " dependencies {{{
|
||||||
call s:plug('noahfrederick/vim-composer')
|
call s:plug('noahfrederick/vim-composer')
|
||||||
call s:plug('tpope/vim-projectionist')
|
call s:plug('tpope/vim-projectionist')
|
||||||
call s:plug('tpope/vim-dispatch')
|
call s:plug('tpope/vim-dispatch')
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" Misc {{{
|
" Misc {{{
|
||||||
call s:plug('junegunn/vader.vim')
|
if has('nvim')
|
||||||
call s:plug('andweeb/presence.nvim')
|
call s:plug('andweeb/presence.nvim')
|
||||||
call s:plug('wakatime/vim-wakatime')
|
|
||||||
if has('nvim-0.6.0')
|
if has('nvim-0.6.0')
|
||||||
call s:plug('github/copilot.vim')
|
call s:plug('github/copilot.vim')
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
call s:plug('junegunn/vader.vim')
|
||||||
|
call s:plug('wakatime/vim-wakatime')
|
||||||
" }}}
|
" }}}
|
||||||
|
|
|
@ -6,4 +6,20 @@ let g:vim_ide = 1
|
||||||
let g:dotfiles_rainbow_indent_opacity = 0.5
|
let g:dotfiles_rainbow_indent_opacity = 0.5
|
||||||
|
|
||||||
source <sfile>:p:h/../dmitmel-dotfiles/nvim/init.vim
|
source <sfile>:p:h/../dmitmel-dotfiles/nvim/init.vim
|
||||||
luafile <sfile>:p:h/init.lua
|
|
||||||
|
if has('nvim')
|
||||||
|
luafile <sfile>:p:h/init.lua
|
||||||
|
else
|
||||||
|
set termguicolors
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Arrow key fix kanged from <https://vim.fandom.com/wiki/Fix_arrow_keys_that_display_A_B_C_D_on_remote_shell#Solution_21> {{{
|
||||||
|
if exists("g:HELP_MY_ARROW_KEYS_ARE_BROKEN")
|
||||||
|
" the following simply creates an ambiguous mapping so vim fully
|
||||||
|
" processes the escape sequence for terminal keys, see 'ttimeout' for a
|
||||||
|
" rough explanation, this just forces it to work
|
||||||
|
if &term[:4] == "xterm" || &term[:5] == 'screen' || &term[:3] == 'rxvt'
|
||||||
|
inoremap <silent> <C-[>OC <RIGHT>
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
" }}}
|
||||||
|
|
|
@ -1,5 +1,23 @@
|
||||||
nnoremap <C-t> :NERDTreeToggle<CR>
|
nnoremap <C-t> :NERDTreeToggle<CR>
|
||||||
|
|
||||||
|
" Completion {{{
|
||||||
|
function! s:check_back_space() abort
|
||||||
|
let col = col('.') - 1
|
||||||
|
return !col || getline('.')[col - 1] =~ '\s'
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
nmap <silent> <F3> <Plug>(coc-codeaction-line)
|
||||||
|
xmap <silent> <F3> <Plug>(coc-codeaction-selected)
|
||||||
|
|
||||||
|
inoremap <expr> <cr> coc#pum#visible() ? coc#_select_confirm() : "\<CR>"
|
||||||
|
|
||||||
|
inoremap <silent><expr> <TAB>
|
||||||
|
\ coc#pum#visible() ? coc#pum#next(1):
|
||||||
|
\ <SID>check_back_space() ? "\<Tab>" :
|
||||||
|
\ coc#refresh()
|
||||||
|
inoremap <expr><S-TAB> coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"
|
||||||
|
" }}}
|
||||||
|
|
||||||
" Copy to clipboard register and paste from clipboard register {{{
|
" Copy to clipboard register and paste from clipboard register {{{
|
||||||
" Taken from https://unix.stackexchange.com/a/23437
|
" Taken from https://unix.stackexchange.com/a/23437
|
||||||
nnoremap <C-y> "+y
|
nnoremap <C-y> "+y
|
||||||
|
|
2961
script-resources/markdown2htmldoc/package-lock.json
generated
Normal file
2961
script-resources/markdown2htmldoc/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
|
@ -13,7 +13,7 @@
|
||||||
"markdown-it-emoji": "^2.0.0",
|
"markdown-it-emoji": "^2.0.0",
|
||||||
"markdown-it-footnote": "^3.0.3",
|
"markdown-it-footnote": "^3.0.3",
|
||||||
"markdown-it-task-checkbox": "^1.0.6",
|
"markdown-it-task-checkbox": "^1.0.6",
|
||||||
"prismjs": "^1.25.0"
|
"prismjs": "^1.27.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^7.32.0",
|
"eslint": "^7.32.0",
|
||||||
|
|
|
@ -815,10 +815,10 @@ prettier@^2.4.1:
|
||||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.4.1.tgz#671e11c89c14a4cfc876ce564106c4a6726c9f5c"
|
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.4.1.tgz#671e11c89c14a4cfc876ce564106c4a6726c9f5c"
|
||||||
integrity sha512-9fbDAXSBcc6Bs1mZrDYb3XKzDLm4EXXL9sC1LqKP5rZkT6KRr/rf9amVUcODVXgguK/isJz0d0hP72WeaKWsvA==
|
integrity sha512-9fbDAXSBcc6Bs1mZrDYb3XKzDLm4EXXL9sC1LqKP5rZkT6KRr/rf9amVUcODVXgguK/isJz0d0hP72WeaKWsvA==
|
||||||
|
|
||||||
prismjs@^1.25.0:
|
prismjs@^1.27.0:
|
||||||
version "1.25.0"
|
version "1.27.0"
|
||||||
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.25.0.tgz#6f822df1bdad965734b310b315a23315cf999756"
|
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.27.0.tgz#bb6ee3138a0b438a3653dd4d6ce0cc6510a45057"
|
||||||
integrity sha512-WCjJHl1KEWbnkQom1+SzftbtXMKQoezOCYs5rECqMN+jP+apI7ftoflyqigqzopSO3hMhTEb0mFClA8lkolgEg==
|
integrity sha512-t13BGPUlFDR7wRB5kQDG4jjl7XeuH6jbJGt11JHPL96qwsEHNX2+68tFXqc1/k+/jALsbSWJKUOT/hcYAZ5LkA==
|
||||||
|
|
||||||
progress@^2.0.0:
|
progress@^2.0.0:
|
||||||
version "2.0.3"
|
version "2.0.3"
|
||||||
|
|
|
@ -1,6 +1,14 @@
|
||||||
set -g default-terminal 'screen-256color'
|
# Enable 256color and RGB support (because tmux loves ruining shell features)
|
||||||
|
set -g default-terminal "tmux-256color"
|
||||||
|
set-option -ga terminal-overrides ",xterm-256color:Tc"
|
||||||
|
set -as terminal-features ",gnome*:RGB"
|
||||||
|
|
||||||
|
# Enable mouse supports for those rare times I have to select something
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
|
|
||||||
|
# Prevent tmux from deleting significant amounts of history
|
||||||
|
set -g history-limit 100000
|
||||||
|
|
||||||
run 'if [ -d "~/.tmux/plugins/tpm" ]; then : ; else git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm; fi'
|
run 'if [ -d "~/.tmux/plugins/tpm" ]; then : ; else git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm; fi'
|
||||||
|
|
||||||
set -g @tpm_plugins ' \
|
set -g @tpm_plugins ' \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue