Commit Graph

262 Commits

Author SHA1 Message Date
Marko Korhonen
884e29d6f2
Neovim: add schema for luarc 2023-02-21 11:33:35 +02:00
Marko Korhonen
da72520c7b
Add neovim config luarc 2023-02-21 11:31:20 +02:00
Marko Korhonen
d08f08d572
Neovim: add cmp-spell source 2023-02-20 16:10:32 +02:00
Marko Korhonen
d2f47aa2f9
Neovim: change sumneko to lua_ls 2023-02-19 20:03:22 +02:00
Marko Korhonen
75a7cf6d07
Nvim: Use relative line numbers 2023-01-31 22:43:39 +02:00
Marko Korhonen
9b569a2266
Remove wayland clipboard workaround 2023-01-31 22:38:14 +02:00
Marko Korhonen
a5e0572f18
nvim: add cmp cmdline and firenvim settings 2023-01-09 09:10:16 +02:00
Marko Korhonen
6a91c7b2ce
Neovim: fix clipboard on wayland 2022-11-17 09:18:56 +02:00
Marko Korhonen
4b7d694731
Nvim: add highlight on yank 2022-11-09 09:01:45 +02:00
Marko Korhonen
a2ecbae4ca
Nvim: switch from gitgutter to gitsigns plugin 2022-11-04 13:43:07 +02:00
Marko Korhonen
aa43e958df
Add neovide settings to neovim 2022-11-02 16:07:48 +02:00
Marko Korhonen
bddcb64be8
Reformat all neovim configuration files with stylua 2022-10-26 14:08:20 +03:00
Marko Korhonen
29e1114978
Neovim: disable luasnip mappings again
Will inspect later
2022-10-24 16:04:25 +03:00
Marko Korhonen
d6e5b68741
Neovim: fix luasnip mappings 2022-10-24 15:40:53 +03:00
Marko Korhonen
bab68a1209
Nvim: comment out which-key configuration which causes error
Will inspect later
2022-10-24 13:23:10 +03:00
Marko Korhonen
5628321f31
Nvim: remove unneeded patch from which-key 2022-10-24 13:19:48 +03:00
Marko Korhonen
b35110ba5a
Add settings for nvim gui and install telescope cder plugin 2022-10-20 11:24:54 +03:00
Marko Korhonen
5eff5ecf25
Neovim: update capabilities setup for cmp 2022-10-17 14:39:10 +03:00
Marko Korhonen
357392b9dc
Unify quotes to single quote in neovim plugin configuration 2022-10-05 14:05:43 +03:00
Marko Korhonen
b0609b2618
Nvim: fix colorscheme 2022-09-20 19:29:13 +03:00
Marko Korhonen
e95ad97aba
Nvim: change colorscheme to kanagawa 2022-09-20 19:25:08 +03:00
Marko Korhonen
2a9a3e5a2a
Add pre-commit hook to format files 2022-09-16 19:21:54 +03:00
Marko Korhonen
40c7875779
Add markdown preview plugin 2022-09-16 16:53:31 +03:00
Marko Korhonen
2b8d17fc24
Use specific java version for jdtls 2022-09-15 14:54:23 +03:00
Marko Korhonen
384f2752ab
Neovim: change to pywal colorscheme 2022-09-08 23:12:49 +03:00
Marko Korhonen
59435389fe
Nvim: add rofi config (.rasi) treesitter grammar 2022-09-08 20:25:28 +03:00
Marko Korhonen
428789cb90
Nvim: add colorizer plugin 2022-09-08 20:22:33 +03:00
Marko Korhonen
391c1d0e5a
Neovim: set cmdheight = 1 2022-09-06 16:37:50 +03:00
Marko Korhonen
7e3aa27aee
Nvim: remove packer after options, they seem to break everything 2022-09-03 16:21:02 +03:00
Marko Korhonen
3f8b9e8c83
Fix variable scope in mason configuration 2022-09-03 16:19:47 +03:00
Marko Korhonen
38aadc3eaa
Fix formatting in nvim init.lua 2022-09-03 16:19:22 +03:00
Marko Korhonen
a1bb9b97f4
Split Mason config to own file 2022-09-03 15:51:09 +03:00
Marko Korhonen
2630f0a26f
Nvim: separate cmp and luasnip configs 2022-09-03 15:42:34 +03:00
Marko Korhonen
17d116f411
Fix snippet navigation mappings (hopefully) 2022-09-03 15:07:54 +03:00
Marko Korhonen
820b5d1377
Neovim: make cursor vertical in insert mode 2022-09-03 14:41:13 +03:00
Marko Korhonen
1840232194
Nvim: add bashls 2022-09-03 14:05:34 +03:00
Marko Korhonen
fc76d8c099
Neovim: add mappings for snippet navigation 2022-09-03 00:56:38 +03:00
Marko Korhonen
7f357be296
Nvim: Added intentation settings 2022-09-03 00:56:37 +03:00
Marko Korhonen
31a250b50a
Neovim: format plugins/init.lua 2022-09-03 00:56:37 +03:00
Marko Korhonen
830dd01a30
Neovim: remove unneeded comments from settings.lua 2022-09-03 00:56:36 +03:00
Marko Korhonen
0e126d2153
Nvim: Change colorscheme to kanagawa and some other minor tweaks 2022-09-03 00:56:34 +03:00
Marko Korhonen
da3831dd0b
Add patch for which-key and cmdheight=0 problem 2022-09-03 00:56:34 +03:00
Marko Korhonen
6751e7b356
Refactor settings.lua
- Remove all options that matched the defaults in NeoVim
- Remove clipboard=unnamedplus and learded to use registers :)
- set some modern NeoVim settings, f.ex laststatus=3 and cmdheight=0
2022-09-03 00:56:33 +03:00
Marko Korhonen
a097eb15be
Remove some redundant keymappings
F.ex <C-j> to original keymapping <C-w>j to switch to left window
2022-09-03 00:56:31 +03:00
Marko Korhonen
060450b9f5
Nvim: Add GPG plugin 2022-08-29 09:55:51 +03:00
Marko Korhonen
b6839e69b9
Revert "Fix plugin load order with LSP plugins"
This reverts commit d31a750c98.
2022-08-26 13:21:42 +03:00
Marko Korhonen
646604d44d
Add taplo LSP 2022-08-26 13:10:03 +03:00
Marko Korhonen
d31a750c98
Fix plugin load order with LSP plugins 2022-08-26 13:09:51 +03:00
Marko Korhonen
9e8435ba99
Nvim: improve packer setup 2022-08-25 10:42:06 +03:00
Marko Korhonen
3841481c79
Fix jdtls map_keys call 2022-08-24 12:09:59 +03:00
Marko Korhonen
02d7ce5a94
Add nvim dashboard 2022-08-24 12:09:50 +03:00
Marko Korhonen
c707c17f4b
Add nvimtree configuration 2022-08-24 12:07:21 +03:00
Marko Korhonen
21284ab10d Refine some more keybinds to new format and rework Telescope config 2022-08-24 00:38:10 +03:00
Marko Korhonen
4d94052d70
Nvim: convert keymaps to vim.keymap.set and/or which-key.register 2022-08-24 00:01:06 +03:00
Marko Korhonen
131e4608e7
Remove leftover files 2022-08-23 22:38:49 +03:00
Marko Korhonen
221aa4b42e
Nvim: use space as leader 2022-08-23 22:18:57 +03:00
Marko Korhonen
fa8e0e7331
Ran luaformat on all neovim files, removed unneeded files 2022-08-23 22:12:01 +03:00
Marko Korhonen
1df85d3a12
Remove leftover file 2022-08-23 19:36:35 +03:00
Marko Korhonen
15f6079e28
Sensify neovim output on init 2022-08-23 19:35:56 +03:00
Marko Korhonen
dd7886205f
Use global for lspconfig servers 2022-08-23 19:22:35 +03:00
Marko Korhonen
64cfd072e7
Remove leftover file 2022-08-23 19:21:38 +03:00
Marko Korhonen
0f738beb9b
Fix scope issues in lspconfig 2022-08-23 19:14:09 +03:00
Marko Korhonen
b985e8a28a
Refactor packer config to use packer config parameter instead of
separate requires
2022-08-23 17:56:24 +03:00
Marko Korhonen
989ab0c42a
Add which-key.nvim 2022-08-23 12:17:21 +03:00
Marko Korhonen
dab6db98f8
Enable nvim autopairs and some new completion sources 2022-08-23 11:45:28 +03:00
Marko Korhonen
5629e07bf3
Add markdown lsp server 2022-08-23 10:14:44 +03:00
Marko Korhonen
d70a628146
Fix jdtls setup 2022-08-23 09:41:00 +03:00
Marko Korhonen
6351093de0
Refine packer update commands 2022-08-23 09:28:07 +03:00
Marko Korhonen
e35ccc8ae2
Nvim: Use default Java for LSP 2022-08-23 09:27:43 +03:00
Marko Korhonen
f84f9b72f5
Fix dotsync alias 2022-08-22 15:01:18 +03:00
Marko Korhonen
8643dd3b6b
Refactor nvim packer configuration 2022-08-22 14:57:24 +03:00
Marko Korhonen
9ef1115fa2
Nvim: switch from nvim-lsp-installer to masonry.nvim 2022-08-22 14:34:30 +03:00
Marko Korhonen
581dbdb22c
Neovim: remove filetype.nvim 2022-08-14 20:38:38 +03:00
Marko Korhonen
3a918ea5fe
Neovim: add signature help plugin + make use of quotes consistent 2022-08-14 20:36:32 +03:00
Marko Korhonen
bb6771e968
Refine neovim updates 2022-08-05 09:37:38 +03:00
Marko Korhonen
565b902df1
Use filetype.nvim for now instead of filetype.lua for now since it
stopped working
2022-07-25 16:23:26 +03:00
Marko Korhonen
910c15fd42
Neovim: Migrate catppuccin config according to instructions 2022-07-25 15:07:50 +03:00
Marko Korhonen
1a95a4c055 Nvim: Disable folding 2022-06-07 15:55:45 +03:00
Marko Korhonen
c76a78459a Nvim: simplify treesitter folding. Function name is displayed now 2022-05-06 13:32:32 +03:00
Marko Korhonen
f6679102d8 Git: add upstream alias 2022-04-26 13:45:16 +03:00
Marko Korhonen
4a72542f7f Nvim: add treesitter ensure_installed 2022-04-25 19:30:41 +03:00
Marko Korhonen
34f9a46a50 Nvim: add treesitter folding 2022-04-22 09:50:18 +03:00
Marko Korhonen
278a7f2478 Nvim treesitter: remove ensure_installed 2022-04-17 23:26:36 +03:00
Marko Korhonen
841a891ecf Nvim: Fix treesitter and bufferline 2022-04-17 23:24:11 +03:00
Marko Korhonen
86f9acea7f Nvim: add asciidoctor plugin 2022-04-10 13:17:11 +03:00
Marko Korhonen
4d9947dfa1 Fix reference to lsp_map_keys 2022-03-02 23:16:43 +02:00
Marko Korhonen
0dd0d7c9ba nvim-jdtls: fix export/import 2022-03-02 23:15:00 +02:00
Marko Korhonen
8af3cdd256 WIP: Not working yet 2022-03-02 20:19:11 +02:00
Marko Korhonen
170fe31f6b Nvim: add path source to cmp 2022-03-02 19:54:45 +02:00
Marko Korhonen
479ac72b83 Nvim: update some deprecated lsp keybinds 2022-03-02 19:23:18 +02:00
Marko Korhonen
8604de5ffe Nvim: add telescope-ui-select 2022-03-02 18:01:26 +02:00
Marko Korhonen
d4ba7a72d9 Nvim: add telescope 2022-03-02 17:50:32 +02:00
Marko Korhonen
58f9847e78 Nvim: add jdtls 🚀 2022-02-24 18:08:59 +02:00
Marko Korhonen
b3f20969a7 Nvim: Setup LSP with additional capabilities supported by nvim-cmp 2022-02-24 17:27:49 +02:00
Marko Korhonen
75d4a64c10 Nvim: enable filetype.lua 2022-02-17 17:14:42 +02:00
Marko Korhonen
312634e010 Neovim: add friendly-snippets 2022-02-16 11:24:53 +02:00
Marko Korhonen
3f69a286c8 Fix FZF 2022-02-03 11:26:12 +02:00
Marko Korhonen
3ba1f71742 Neovim: fix nvimtree keybind 2022-02-03 11:12:23 +02:00
Marko Korhonen
090db6aa30 Neovim: add Neoformat keybind 2022-01-31 14:38:02 +02:00
Marko Korhonen
c34c2e7b9e Nvim: add fzf keybind 2022-01-15 12:32:39 +02:00
Marko Korhonen
facd2b69a2 Nvim: switch from telescope to fzf (I like the search algorithm better) 2022-01-06 12:53:18 +02:00
Marko Korhonen
10d7142b69 Change colorscheme 2021-12-18 00:19:58 +02:00
Marko Korhonen
16cde14ddd Nvim: improve pager mode and other fixes 2021-12-04 11:43:26 +02:00
Marko Korhonen
d78c0ae77d Nvim: enable nvim-tree 2021-12-03 20:13:12 +02:00
Marko Korhonen
f5bf1b9b0e Neovim indent-blankline disable space and eol characters 2021-12-03 09:32:42 +02:00
Marko Korhonen
5789851be9 Neovim: Enable indent-blankline 2021-12-03 09:30:27 +02:00
Marko Korhonen
82364ebc05 Neovim: Fix LSP server startup 2021-11-29 16:19:53 +02:00
Marko Korhonen
ea8debd6d9 Neovim add lsp keybindings 2021-11-27 10:25:59 +02:00
Marko Korhonen
e86d81eb32 Neovim: switch from lspinstall to nvim-lsp-installer, coq_nvim to
nvim-cmp
2021-11-26 18:19:36 +02:00
Marko Korhonen
43ecd19408 Neovim: add firenvim 2021-11-20 12:13:39 +02:00
Marko Korhonen
756cebca40 Neovim: switch completion plugin to coq.nvim 2021-10-06 19:08:38 +03:00
Marko Korhonen
ccd6548da0 Nvim: allow changing buffers with unsaved changes 2021-10-06 18:48:06 +03:00
Marko Korhonen
1b1ae24ba1 Nightfox: set() has been deprecated in favor of load() 2021-08-31 16:42:48 +03:00
Marko Korhonen
7f8605354e Add more configuration for indent-blankline 2021-08-22 11:33:15 +03:00
Marko Korhonen
1821340f03 Nvim: improvements to syntax highlighting and add a couple of plugins 2021-08-18 21:20:20 +03:00
Marko Korhonen
003c6f13c0 Nvim: add fugitive 2021-08-18 14:17:19 +03:00
Marko Korhonen
c265be48ff Nvim: add git gutter and line numbers 2021-08-18 09:29:44 +03:00
Marko Korhonen
028282b30c Add diff settings for neovim 2021-08-17 22:36:48 +03:00
Marko Korhonen
5e92dccee0 Disable java lsp for now 2021-08-16 22:33:24 +03:00
Marko Korhonen
c024a40316 Refactor neovim config (#2)
Changes include:

- [x] Use init.lua instead of init.vim
   - Some keybindings are still to be converted
- [x] Use packer as a package manager instead of vim-plug
- [ ] Use built-in lsp instead of coc.nvim
   - [x] Set up language servers
   - [x] Completion
   - [x] Formatting (previously coc-prettier, now neoformat)
   - [ ] Snippets
- [ ] Replace fzf with telescope.nvim
- [x] Implement treesitter syntax highlighting
   - More info: https://github.com/nvim-treesitter/nvim-treesitter

Note that this requires neovim nightly until 0.5 is released

Reviewed-on: https://git.korhonen.cc/FunctionalHacker/dotfiles/pulls/2
Co-authored-by: Marko Korhonen <marko@korhonen.cc>
Co-committed-by: Marko Korhonen <marko@korhonen.cc>
2021-08-08 15:33:23 +03:00
Marko Korhonen
6c5121dd54 Add coc-flutter to nvim 2021-01-30 11:23:00 +02:00
Marko Korhonen
7351e1be78 Merge branch 'master' of gitea:FunctionalHacker/dotfiles 2020-12-04 10:41:21 +02:00
Marko Korhonen
f203732a94 Improve vim ripgrep 2020-12-04 10:41:08 +02:00
Marko Korhonen
757c3a750a Removed a workaround that is not needed anymore 2020-12-01 18:03:30 +02:00
Marko Korhonen
2a0e5325c0 Added firenvim 2020-11-18 18:34:29 +02:00
Marko Korhonen
9def02fa36 Updated FZF stuff, some other minor tweaks 2020-09-18 23:28:06 +03:00
Marko Korhonen
9afc9425e8 Add coc-java 2020-07-20 16:08:30 +03:00
Marko Korhonen
e75b6c4ec7 Remove prettier formatonsave 2020-07-09 11:18:16 +03:00
Marko Korhonen
a73fa759eb Small changes 2020-04-14 12:37:19 +03:00
Marko Korhonen
87c1f1ccd6 Some tweaks for latex 2020-03-05 21:28:10 +02:00
Marko Korhonen
afa01d3e3b Small fixes 2020-02-13 20:18:20 +02:00
Marko Korhonen
c702f4cd6a Add a keymap to resize windows equally 2020-01-21 18:32:47 +02:00
Marko Korhonen
a7574e9dd0 Some more colorscheme stuff
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
2020-01-19 15:24:46 +02:00
Marko Korhonen
36db12601f One syntax plugin to rule them all
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
2020-01-19 15:24:27 +02:00
Marko Korhonen
6aed7c0268 Tweak fzf geometry
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
2020-01-19 15:24:03 +02:00
Marko Korhonen
7e929824b3 Change colorscheme to onedark
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
2020-01-19 00:56:08 +02:00
Marko Korhonen
3dc5ebcddf Tweaking FZF looks in vim
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
2020-01-18 22:24:58 +02:00
Marko Korhonen
f89c81b50a Added rust plugin to vim
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
2020-01-18 22:24:35 +02:00
Marko Korhonen
714cb63e50 Made floating windows look a bit better
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
2020-01-18 21:39:21 +02:00
Marko Korhonen
c6a9c9b33d Added coc-snippets and switched to texlab
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
2020-01-18 21:25:32 +02:00
Marko Korhonen
239de02dc7 Make every FZF command use ripgrep
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
2020-01-09 15:10:28 +02:00
Marko Korhonen
7ad98b6ffd Change back to airline
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
2020-01-08 23:00:15 +02:00
Marko Korhonen
209719e792 Disable auto commenting in vim
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
2020-01-08 22:08:30 +02:00
Marko Korhonen
fb7cd02b65 New year, new colorscheme
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
2020-01-08 22:07:32 +02:00
Marko Korhonen
8b5da1e19d Added firenvim filetype for node-red
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
2020-01-07 20:43:57 +02:00
Marko Korhonen
154acc906d Added VimL source for CoC
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
2020-01-07 17:48:53 +02:00
Marko Korhonen
569186accb Prettify coc-settings
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
2020-01-07 17:48:24 +02:00
Marko Korhonen
7b8599d7de FZF floating window and fix ESC in fzf buffer
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
2020-01-07 17:47:06 +02:00
Marko Korhonen
1e101e5937 Add firenvim
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
2020-01-04 12:12:15 +02:00
Marko Korhonen
79c9aefa80 Add firenvim file types
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
2020-01-04 12:11:57 +02:00