1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00
Commit Graph

306 Commits

Author SHA1 Message Date
jdhao 7bb12e4b70 chore: relax vimtex install condition 2022-11-15 01:04:31 +08:00
jdhao d30d402128 update option 2022-10-19 20:52:51 +08:00
jdhao 18abfa7754 feat: add a mapping to blink cursor 2022-10-17 00:07:34 +08:00
jdhao 3539207913 use 2 spaces for tabs by default
This removes a lot of code duplication. If we want to use 4 spaces, we
can set it separately in their ftplugin settings.
2022-10-15 11:28:15 +08:00
jdhao ebf7170916 use UTF-8 instead of utf-8, closes #134 2022-10-09 13:23:01 +08:00
jdhao 7a5be43600 use lua func in rhs instead of callback 2022-10-05 22:42:02 +08:00
jdhao 3b39067097 update mousescroll 2022-10-05 22:39:13 +08:00
jdhao e6b3be0777 remove language workaround for macOS
The issue has been fixed in https://github.com/neovim/neovim/pull/19139.
2022-10-05 22:33:13 +08:00
jdhao d40d87cb61 nvim 0.8 update 2022-10-04 19:34:20 +08:00
jdhao 07dd60206b update repo link for transferred plugins 2022-09-28 23:57:36 +08:00
jdhao 597a2aba80 always use sign column 2022-09-28 23:39:09 +08:00
jdhao e1930ba153 remove config for unused plugins
vim-signify, vim-startify
2022-09-28 23:36:44 +08:00
jdhao 4026baef19 update conf related to firenvim
1. Change autocmd for buffers started by firenivm, it seems that
   BufNewFile does not work as intended, in contrast, BufEnter, BufRead,
   BufWinEnter seem to work.
2. Disable several plugins if we are using firenvim, these plugins
   include dashboard-nvim, lualine, bufferline.nvim
2022-09-28 23:22:23 +08:00
jdhao ab25bfc9c4 noruler 2022-09-15 12:18:26 +08:00
chaoqunya 1b1f0199da typo fixed 2022-09-13 14:22:46 +08:00
jdhao 6e8e61e53a global.vim --> global.lua
fix 2

fix 3
2022-09-11 18:21:56 +08:00
jdhao aaeb6a813a format with stylua 2022-09-10 23:55:22 +08:00
jdhao 309c8ad636 update mapping 2022-09-08 13:19:34 +08:00
jdhao 11e6797cb5 refactor: convert mapping from viml to lua 2022-09-06 21:22:45 +08:00
jdhao dee7768162 use colorscheme instead of theme 2022-08-28 13:08:22 +08:00
jdhao b41998828d refactor a bit
1. change theme to colorscheme
2. update plugin load logic
2022-08-28 12:43:50 +08:00
jdhao bc9b0a8cf8 fix parameter for vim.notify 2022-08-26 19:47:56 +08:00
jdhao 59525c5577 refactor: theme.vim --> theme.lua 2022-08-26 18:42:30 +08:00
jdhao b279c0cd95 fix some typos 2022-08-23 21:12:04 +08:00
jdhao e9a3d16260 refactor: move part of autocmd to lua script 2022-08-20 15:00:10 +08:00
jdhao 085c8017d8 update the autocmd for saving a file 2022-08-20 13:50:23 +08:00
jdhao c1efc0bad6 update firenvim conf 2022-08-15 22:56:56 +08:00
jdhao e7e4892c22 handle large file better 2022-08-15 00:06:52 +08:00
jdhao fdc158272b init.vim --> init.lua follow 2022-08-13 22:43:33 +08:00
jdhao 0c92d9a018 update mappings
1. add mapping for gJ
2. remove mappings for <C-H>, since I rarely use them
2022-08-10 21:24:14 +08:00
jdhao 3de31f7d0a disable language command in macOS for now
Due to packaging issue, nvim version 0.7.2 for macOS does not have
`:language` command built in, see also neovim/neovim#19127.
2022-08-06 22:36:49 +08:00
jdhao bcdc8d3f66 small fix 2022-08-01 20:57:37 +08:00
jdhao 5498a05bf7 revert to vim-auto-save
auto-save.nvim is erroring out
2022-08-01 01:14:09 +08:00
jdhao 644f8b6e2d add theme catppuccin 2022-07-28 01:32:41 +08:00
jdhao aae9a7b7a7 update winblend 2022-07-27 13:17:22 +08:00
jdhao a8fdbf3573 disable showing current theme used 2022-06-28 00:36:37 +08:00
jdhao 351ba5fc63 update option shortmess 2022-06-28 00:36:19 +08:00
jdhao 32b1d3ac16 disable sql omni completion 2022-06-05 21:10:04 +08:00
jdhao e3b15da059 add lua map module and more mappings 2022-05-29 12:27:26 +08:00
jdhao 9e284f58cb add new map 2022-05-03 19:15:33 +08:00
jdhao 6784a87e26 update vimtex conf, close #50
Fix deprecated options
2022-05-02 09:48:43 +08:00
jdhao b20b21b5dd update LeaderF conf 2022-04-20 01:29:19 +08:00
jdhao 58b1e0aa9f [nvim 0.7] use filetype.lua for detecting ft 2022-04-16 01:00:36 +08:00
jdhao 9082e124a5 [nvim 0.7] no more py2 support 2022-04-16 00:16:23 +08:00
jdhao 3c5d7bf0e5 update wilder.nvim conf 2022-04-10 13:23:18 +08:00
jdhao e9ffd6c39d [fix] quit does not work for 2 windows
If current buf in remaning two or more windows are filetypes in the quit
list, we should also quit nvim also.
2022-03-29 21:41:44 +08:00
jdhao 295f47b1fb fix: wilder.nvim auto-start improvement
Using CursorHold to start wilder.nvim is not ideal, since it depends on
the value of option 'updatetime'. Using a timer may be a better idea.
2022-02-11 19:19:23 +08:00
jdhao 6322c7c212 chore: update theme hint message 2022-02-09 01:17:50 +08:00
jdhao 2b24d0794e Use nvim-tree as file explorer when we open a folder
netrw plugin needs to be disabled, and nvim-tree needs to be start
package. Otherwise, the hijacking won't work, and when we open a folder,
it just open a new file with the same name.
2022-02-05 13:40:54 +08:00
jdhao b542bec561 update logging conf 2022-02-03 17:27:45 +08:00