Commit Graph

227 Commits

Author SHA1 Message Date
FollieHiyuki
61b5cb5b70
neovim: revamp
- packer: load vim-eft, nvim-spectre, nvim-dap, persistence.nvim on key
  press instead of on Vim event
- keybindings: redefine multiple, move keybindings for plugins loaded on
  key press to their configs
- plugins: add winshift.nvim, better-escape.nvim, window-picker.nvim,
  neogen, spellsitter.nvim, nvim-lightbulb, close-buffers.nvim
- init.lua: move autocmds back inside async loop (filetype events already
  got handled by filetype.nvim)
- zen-mode.nvim + twilight.nvim: move from 'tools' to 'editor' group
- lsp: change signs characters for unification
- dap: initial config, keybindings
- feline.nvim: reorder elements, add nvim-lightbulb signs
- chore: unify the way setup() is called, and format stuff
2021-10-17 21:48:14 +07:00
FollieHiyuki
a2a7caa279
neovim: bunch of changes again
- Fix commit 8a8e0db586 : vim.opt is a table, so it should have been
  vim.o -> vim.opt:get()
- Add filetype.nvim (improved startup time)
- Drop vimtex. Potentially will switch to tex.nvim
- Re-compile packer only inside '/modules' directory (less eager)
2021-10-17 21:48:14 +07:00
FollieHiyuki
ee9a615cfe
shells: drop z.lua, add fish completion for zoxide 2021-10-17 21:48:14 +07:00
FollieHiyuki
5dcd5c16be
fzf: bind alt-j, alt-k to scroll preview window 2021-10-17 21:48:14 +07:00
FollieHiyuki
7991b12511
neovim: make completion menu more colorful
Also change Telescope match highlight to be the same as nvim-cmp
2021-10-17 21:48:14 +07:00
FollieHiyuki
c9941850a2
neovim: breaking change in nvim-cmp config
nvim-cmp now uses floating window instead of pumsible.
See https://github.com/hrsh7th/nvim-cmp/issues/231
2021-10-17 21:48:14 +07:00
FollieHiyuki
4508f2a819
neovim: replace nvim-lint + neoformat with null-ls.nvim
Also update config for jsonls and yamlls.
2021-10-17 21:48:14 +07:00
FollieHiyuki
2248faa795
neovim: vim.o -> vim.opt 2021-10-17 21:48:13 +07:00
FollieHiyuki
1f973f3850
neovim: add scripts to install lsp servers 2021-10-17 21:48:13 +07:00
FollieHiyuki
ef76692015
Various user configs
+ vifm: improve preview scripts
+ lite-xl: change fonts' locations
+ neovim: update config for nvim-tree.lua
2021-10-17 21:48:13 +07:00
FollieHiyuki
68b4e1d59f
neovim: move autocmd out of async loop
setfiletype doesn't trigger when autocmd is lazy loaded
2021-10-17 21:48:13 +07:00
FollieHiyuki
493e7d6c1c
Update user agent for various config 2021-10-17 21:48:13 +07:00
FollieHiyuki
820929c2cb
neovim, emacs: manually configure sumneko_lua
Also neovim: disable options already set (see ':h nvim-defaults')
2021-10-17 21:48:13 +07:00
FollieHiyuki
5b79df9f6f
scripts: fix syntax + use 0x0.st for url shortening 2021-10-17 21:48:13 +07:00
FollieHiyuki
9b81f9b07b
Some user configs
- neovim:
    + update lspkind icons for completion
    + start migrating config for nvim-tree.lua
    + update lsp config for sumneko_lua
- scripts:
    + add POSIX clients for PurritoBin (https://bsd.ac)
    + add script to upload to https://0x0.st
2021-10-17 21:48:13 +07:00
FollieHiyuki
12e151d3e1
Some system config changes
- startwl: move `chmod` out of if statement (ensure $XDG_RUNTIME_DIR
  properly has 0700 permission)
- doas: add Void specified config
- nftables: add note for future changes to block rules
- grub: disable submenu
2021-10-17 21:48:13 +07:00
FollieHiyuki
ea74e9076e
neovim: disable rarely used wilder.nvim + conjure 2021-10-17 21:48:13 +07:00
FollieHiyuki
dfcfbd004a
neovim: configure packer.nvim + add iswap.nvim 2021-10-17 21:48:12 +07:00
FollieHiyuki
a8e3fb728b
neovim: add a snippet for using pandoc 2021-10-17 21:48:12 +07:00
FollieHiyuki
6f78887641
neovim: changes a bunch
- undodir: move to stdpath('data') to be more inline with other
- add todo-comments.nvim
- whichkey: rebind for hop.nvim (avoid conflicting with vim-sandwich
  blockwise)
- mappings: clean up and rearrange
2021-10-17 21:48:12 +07:00
FollieHiyuki
8c725aa77c
Lots of changes. See comment :)
- firefox: add script to automate updating user.js
- Anime4K: update version in install script to 4.0.1
- neovim:
    + remove nnn plugin (telescope's file browser has hidden files now)
    + telescope.nvim: update horizontal layout
    + nvim-cmp: update config for lsp, add more sources
    + indent-blankline: update config to use setup()
    + toggleterm, bufferline: repos moved
    + plugins: update multiple small configurations
2021-10-17 21:48:12 +07:00
FollieHiyuki
2e3a1b70a4
neovim: update highlights for nvim-tree 2021-10-17 21:48:12 +07:00
FollieHiyuki
0b6f538235
Bunch of changes
- emacs: enable parinfer
- neovim:
    + add config for sniprun
    + replace lsp-rooter.nvim with project.nvim
    + replace galaxyline.nvim with feline.nvim
    + update config for gitsigns.nvim, nvimtree and alpha-nvim
2021-10-17 21:48:12 +07:00
FollieHiyuki
22945505ed
neovim: update config for gitsigns.nvim 2021-10-17 21:48:12 +07:00
FollieHiyuki
fc2f231aaf
neovim: load persistence.nvim in BufEnter
This way it will still work in a readonly buffer (eg. alpha)
2021-10-17 21:48:12 +07:00
FollieHiyuki
b9d674767b
neovim: replace dashboard-nvim with alpha-nvim + persistence.nvim 2021-10-17 21:48:12 +07:00
FollieHiyuki
e9cdccb8a8
Another bunch of changes
emacs: update init.el following upstream
neovim: add conjure, update packer call for nvim-cmp
2021-10-17 21:48:12 +07:00
FollieHiyuki
2a62792e2b
Bunch of changes
neovim: add more plugins
nushell, xonsh: update startup hook for starship
2021-10-17 21:48:11 +07:00
FollieHiyuki
7889449676
neovim: move bufferline highlight to its setup{} 2021-10-17 21:48:11 +07:00
FollieHiyuki
a747daeacd
neovim: asynchronous loading in init.lua
Also fix luasnip mapping for nvim-cmp
2021-10-17 21:48:11 +07:00
FollieHiyuki
f6b969a931
river: update config 2021-10-17 21:48:11 +07:00
FollieHiyuki
fa5374bafe
neovim: reconfigure nvim-cmp mappings + vim.cmd -> vim.api.nvim_command
Also delete `news` script
2021-10-17 21:48:11 +07:00
FollieHiyuki
b45c8f2541
neovim: add editorconfig.vim and spectre.nvim 2021-10-17 21:48:11 +07:00
FollieHiyuki
58598d112d
neovim: add asynctasks.vim 2021-10-17 21:48:11 +07:00
FollieHiyuki
ac38c5dcc9
neovim: support choice nodes for luasnip
Also turn on short keys for moving between windows
2021-10-17 21:48:11 +07:00
FollieHiyuki
af695b83db
neovim: add undotree and vim-eft
Also fix some cursor highlight groups
2021-10-17 21:48:11 +07:00
FollieHiyuki
09cef9c60a
neovim: fix luasnip config
lazy_load() won't reload snippets when opening a new buffer, and will
only load general snippets (ft=all) first
2021-10-17 21:48:11 +07:00
FollieHiyuki
ac6be59e68
neovim: configure lsp_signature.nvim 2021-10-17 21:48:11 +07:00
FollieHiyuki
78b6d2bf54
neovim: add nvim-lint, nvim-dap-ui, vimtex 2021-10-17 21:48:10 +07:00
FollieHiyuki
3cefe864f4
neovim: big refractor
- nvim-compe -> nvim-cmp
- combine multple modules config into category files
- add some more plugins
2021-10-17 21:48:10 +07:00
FollieHiyuki
418f3b462b
neovim: lspsaga highlight groups 2021-10-17 21:48:10 +07:00
FollieHiyuki
7deb0d68f1
neovim: add more plugins 2021-10-17 21:48:10 +07:00
FollieHiyuki
e6e8689b57
Bunch of changes
- shells: set GOPROXY=direct (download sources directly instead of going
through proxy.golang.org)
- emacs: deprecated EXWM
- scripts: api_keys for `imdb` is not valid anymore, and I don't want to
subscribe for another key
2021-10-17 21:48:10 +07:00
FollieHiyuki
5ecf79b424
neovim: remove deprecated config 2021-10-17 21:48:05 +07:00
FollieHiyuki
c4aa156dd1
river: change color format 2021-10-17 21:48:05 +07:00
FollieHiyuki
c2eee8ce71
river: put XKB env var in the config 2021-10-17 21:48:05 +07:00
FollieHiyuki
c933bc279c
river: update config 2021-10-17 21:48:05 +07:00
FollieHiyuki
b0d2122117
neovim: fix typo 2021-10-17 21:48:05 +07:00
FollieHiyuki
7a4a5bdeb1
neovim: add translate-shell + orgmode 2021-10-17 21:48:05 +07:00
FollieHiyuki
8b3da5fff0
starship: update config 2021-10-17 21:48:04 +07:00