Commit Graph

464 Commits

Author SHA1 Message Date
David JULIEN ada21e3126
Merge branch 'dev' into mercury
npm: remove deprecated setting
nvim: fix duplicate setting + set tabstop to 4
        correctly shorten path in statusline
        add basic web-dev setup
        format config files through LSP
        replace path in statusline by "/.../" when useful
2023-02-22 20:17:44 +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 d4bbbcdcc2 [npm] cleanup: remove deprecated setting 2023-02-19 17:25:07 +01:00
David JULIEN f8b91f7e16
Merge branch 'dev' into mercury
nvim: fix shortened path in statusline for unfocused buffers
2023-02-15 21:29:55 +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 b97d011b55
Merge branch 'dev' into mercury
nvim: shorten path in statusline if needed
2023-02-12 22:30:58 +01:00
David JULIEN 786d119e5c [nvim] feat: shorten path in statusline if needed 2023-02-12 22:30:25 +01:00
David JULIEN b8ef05167f
Merge branch 'dev' into mercury
nvim: fix lua LSP server name
        add mini.indentscope
2023-02-12 20:18:31 +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 4a47c79be2
Merge branch 'dev' into mercury
nvim: add Telescope keymaps
        fix luassert prompt
        switch to lazy.nvim
        add TreeSitter parsers
2023-02-04 12:53:29 +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 979c7f5ae5
Merge branch 'dev' into mercury
nvim: add keymap to escape Terminal-mode
2023-01-27 21:14:49 +01:00
David JULIEN debc21cc3a [nvim] feat: add keymap to escape Terminal-mode 2023-01-27 11:37:15 +01:00
David JULIEN 35dcedbdf8
Merge branch 'dev' into mercury
nvim: fix tex `env` snippet
        add keymaps for pdf viewer pop-up
2023-01-21 12:45:51 +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 36f83fb6ff
Merge branch 'dev' into mercury
nvim: remove nvim-autopairs
        remove template snippets
scripts: remove tex compilation files only on success
2023-01-19 19:15:08 +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 de06b3c094
Merge branch 'dev' into mercury
nvim: update tex snippets
system: use $internal instead of "eDP-1" in displayselect
        reset dwm after switching colors or display layout
2023-01-14 12:39:55 +01:00
David JULIEN 1545ec85da [system] fix: reset dwm after switching colors or display layout 2023-01-14 12:37:52 +01:00
David JULIEN e36f458063 [nvim] fix: trim tex snippets 2023-01-10 10:24:34 +01:00
David JULIEN 67adad0fa3
Merge branch 'dev' into mercury
mail: fix neomuttrc.template
nvim: show textwidth column
2023-01-09 21:29:40 +01:00
David JULIEN 486c1b70ab [nvim] feat: display textwidth column 2023-01-09 18:03:35 +01:00
David JULIEN baf9b8ed69 [mail] fix: remove last line of neomutt config
was an artifact
2023-01-09 15:12:17 +01:00
David JULIEN 9c82339d2f
Merge branch 'dev' into mercury
st: update to 0.9
dmenu: update to 5.2
dwm: update to 6.4
        restartsig patch
system: switch-color keybinding now restarts dwm
2023-01-08 15:33:17 +01:00
David JULIEN f80d348612 [system] feat: restartsig patch for dwm
switch-color keybinding now restarts dwm
2023-01-08 15:32:14 +01:00
David JULIEN 59cc3debfd
Merge branch 'dev' into mercury
dwm: window selborder gets its own variable
        increase bordersize
2023-01-08 00:29:04 +01:00
David JULIEN c8aee7fd9c [dwm] feat: increase bordersize 2023-01-08 00:25:33 +01:00
David JULIEN 58f90bbf8b [dwm] feat: window selborder get its own variable 2023-01-08 00:25:07 +01:00
David JULIEN 4821cc75f6
Merge branch 'dev' into mercury
nvim: fix lsp formatting
2023-01-07 22:51:22 +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 3895178aca
Merge branch 'dev' into mercury
nvim: smart pasting in visual-mode
        add description to <C-E>
        fix comments and formatting
        set keymaps for visual-mode only
        keymap to send selection to void register
2023-01-07 22:31:42 +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 529a38bfea
Merge branch 'dev' into mercury 2023-01-07 21:43:35 +01:00