Commit Graph

19 Commits

Author SHA1 Message Date
Hoang Nguyen 133dd68322
neovim: update multiple
- nvim-ts-rainbow: move config into 'nvim-treesitter.configs' block
- bufferline.nvim: update lsp diagnostic display, highlight
- gitsigns.nvim: add highlight for line blame info
- nvim-autopairs: update new config
- highlight: no more lazy loading (only 1-2ms faster, and caused some
  glitched highlights at startup due to treesitter group)
- chore: theme.util -> util
2021-10-20 15:05:04 +07:00
Hoang Nguyen 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
Hoang Nguyen 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
Hoang Nguyen 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
Hoang Nguyen 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
Hoang Nguyen ea74e9076e
neovim: disable rarely used wilder.nvim + conjure 2021-10-17 21:48:13 +07:00
Hoang Nguyen dfcfbd004a
neovim: configure packer.nvim + add iswap.nvim 2021-10-17 21:48:12 +07:00
Hoang Nguyen a8e3fb728b
neovim: add a snippet for using pandoc 2021-10-17 21:48:12 +07:00
Hoang Nguyen 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
Hoang Nguyen 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
Hoang Nguyen a747daeacd
neovim: asynchronous loading in init.lua
Also fix luasnip mapping for nvim-cmp
2021-10-17 21:48:11 +07:00
Hoang Nguyen fa5374bafe
neovim: reconfigure nvim-cmp mappings + vim.cmd -> vim.api.nvim_command
Also delete `news` script
2021-10-17 21:48:11 +07:00
Hoang Nguyen b45c8f2541
neovim: add editorconfig.vim and spectre.nvim 2021-10-17 21:48:11 +07:00
Hoang Nguyen ac38c5dcc9
neovim: support choice nodes for luasnip
Also turn on short keys for moving between windows
2021-10-17 21:48:11 +07:00
Hoang Nguyen 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
Hoang Nguyen 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
Hoang Nguyen 7a4a5bdeb1
neovim: add translate-shell + orgmode 2021-10-17 21:48:05 +07:00
Hoang Nguyen 5ab3184378
neovim: add lspconfig, move compe config 2021-10-17 21:48:03 +07:00
Hoang Nguyen bc7bdb2bdc
neovim: almost done 2021-10-17 21:48:03 +07:00