Commit Graph

194 Commits

Author SHA1 Message Date
David JULIEN 31862695f8 [nvim] feat: add mini.surround plugin 2023-02-25 23:24:49 +01:00
David JULIEN 85b4b08824 [nvim] feat: replace path in statusline by "/.../" when useful 2023-02-22 19:35:15 +01:00
David JULIEN 34dc364d9f [nvim] cleanup: format all files through LSP 2023-02-19 17:25:12 +01:00
David JULIEN 0e1e60f532 [nvim] feat: basic web-dev setup
add LSPs for JavaScript/HTML
add Treesitter for JavaScript/HTML/markdown
add support for .njk (as HTML) files
2023-02-19 17:25:12 +01:00
David JULIEN 55c27719d3 [nvim] fix: correctly shorten "_XXX" elements in statusline 2023-02-19 17:25:12 +01:00
David JULIEN 9aae779da4 [nvim] fix: duplicate setting + set tabstop to 4 2023-02-19 17:25:12 +01:00
David JULIEN cdd3b50248 [nvim] fix: shorten filenames in unfocused buffers
786d119 shortened the filename for the current buffer, but didn't change
the filename in other buffers
2023-02-13 14:57:08 +01:00
David JULIEN 786d119e5c [nvim] feat: shorten path in statusline if needed 2023-02-12 22:30:25 +01:00
David JULIEN 475ed9bb31 [nvim] feat: add mini.indentscope 2023-02-12 18:42:36 +01:00
David JULIEN 306a6ef1da [nvim] fix: rename lua LSP server 2023-02-12 18:42:25 +01:00
David JULIEN 9aed284dbe [nvim] feat: add mini.pairs 2023-02-08 22:54:00 +01:00
David JULIEN 3892bc9389 [nvim] cleanup: rename comment.lua to editor.lua
the file will host plugins relative to the editor itself, not only
comments
2023-02-08 22:53:04 +01:00
David JULIEN 2efc69cc16 [nvim] feat: add TreeSitter parses for C++, Python, LaTeX 2023-02-03 09:18:39 +01:00
David JULIEN 58f2ddf866 [nvim] cleanup: telescope.lua layout 2023-02-03 09:18:19 +01:00
David JULIEN 19af34b75d
[nvim] feat: switch to lazy.nvim
!!! BREAKING: packer.nvim is not used anymore

to get telescope-fzf-native.nvim working, run  `:Lazy build
telescope-fzf-native.nvim`
2023-01-29 01:09:12 +01:00
David JULIEN 173e84c089 [nvim] fix: don't ask for luassert on attach 2023-01-29 00:48:45 +01:00
David JULIEN fcb727cea0 [nvim] feat: add Telescope keymaps
<leader>tk to list keymaps
<leader>tx to list diagnostics
2023-01-29 00:27:05 +01:00
David JULIEN debc21cc3a [nvim] feat: add keymap to escape Terminal-mode 2023-01-27 11:37:15 +01:00
David JULIEN e37b806428 [nvim] feat: add keymaps for pdf viewer pop-up 2023-01-20 10:44:32 +01:00
David JULIEN 53f024e982 [nvim] fix: tex `env` snippet 2023-01-20 10:43:42 +01:00
David JULIEN d8a131a086 [nvim] cleanup: remove default template snippets 2023-01-18 09:45:06 +01:00
David JULIEN 0c8d9ac4c1 [nvim] cleanup: remove nvim-autopairs 2023-01-18 09:42:54 +01:00
David JULIEN e36f458063 [nvim] fix: trim tex snippets 2023-01-10 10:24:34 +01:00
David JULIEN 486c1b70ab [nvim] feat: display textwidth column 2023-01-09 18:03:35 +01:00
David JULIEN 1c90ace028 [nvim] fix: lsp formatting
vim.lsp.buf.formatting got deprecated
2023-01-07 22:50:54 +01:00
David JULIEN 17f4fcbe18 [nvim] feat: send selection to void register 2023-01-07 22:30:59 +01:00
David JULIEN 07741bae28 [nvim] fix: keymaps for visual-mode only 2023-01-07 22:30:23 +01:00
David JULIEN 312d469f22 [nvim] feat: comments and formatting 2023-01-07 22:12:58 +01:00
David JULIEN 5e892c4f2c [nvim] feat: add description to <C-E> 2023-01-07 22:11:01 +01:00
David JULIEN b66dcdcec7 [nvim] feat: smart pasting in visual mode 2023-01-07 22:09:20 +01:00
David JULIEN 8b67005a9d [nvim] feat: use textobjects with treesitter 2023-01-07 19:17:00 +01:00
David JULIEN b16f48b5b3 [nvim] refactor: remove icons from completion 2023-01-07 19:00:42 +01:00
David JULIEN 13ddf74c92 [nvim] fix: use <leader> as prefix to switch colorscheme 2023-01-02 20:17:56 +01:00
David JULIEN 2445f4dc23 [nvim] feat: add telescope.help_tags() mapping 2023-01-02 19:56:45 +01:00
David JULIEN 4ad4d95674 [nvim] feat: remap telescope functionalities 2023-01-02 19:56:23 +01:00
David JULIEN 6d5fa385d2 [nvim] feat: add descriptions to mappings 2023-01-02 19:47:28 +01:00
David JULIEN a9cb5afdca [nvim] feat: add telescope-file-browser extension
properly setup Telescope in telescope.lua
provide a new keybinding
2022-12-26 19:08:58 +01:00
David JULIEN 3c7f8a29a7 [nvim] nvim: actually use fzf extension 2022-12-26 19:08:58 +01:00
David JULIEN 791919d058 [nvim] feat: change telescope comment in packer.lua 2022-12-26 19:08:58 +01:00
David JULIEN 84f11353e6 [nvim] feat: display packer in a floating window 2022-12-26 19:08:58 +01:00
David JULIEN f5b5d3709c [nvim] feat: add treesitter support for rust 2022-12-04 23:35:29 +01:00
David JULIEN 17e5453287 [nvim] feat: rust config file
format-on-save !
2022-12-02 16:54:40 +01:00
David JULIEN e87b863640 [nvim] feat: add rust_analyzer LSP 2022-12-02 16:17:02 +01:00
David JULIEN c2d120ecf4 [nvim] format: nvim lsp server list 2022-12-02 16:17:02 +01:00
David JULIEN a2ead9f0c0 [nvim] fix: lspconfig require formatting 2022-12-02 16:17:02 +01:00
David JULIEN 47cc2a3694 [nvim] fix: lsp installation dir variable
this is now a global variable
2022-12-02 16:16:32 +01:00
David JULIEN 03a7796555 [nvim] fix: change deprecated LSP installer
use `mason` instead of `lsp-install`
2022-11-10 21:24:22 +01:00
David JULIEN 2e26e7df30 [nvim] fix: call packer *after* downloading it 2022-11-10 21:24:22 +01:00
David JULIEN f76d95e482 [nvim] feat: update packer icons during update 2022-11-10 21:24:22 +01:00
David JULIEN e29723ec26 [nvim] feat: add a Telescope mapping to grep under cursor 2022-10-25 12:32:37 +02:00