Commit graph

169 commits

Author SHA1 Message Date
e1cf81e0de vim: add completion with plugin 'hrsh7th/nvim-cmp' 2023-07-09 12:19:19 +02:00
8c65607ffa vim: add plugin 'neomvim/lspconfig' 2023-07-09 12:18:42 +02:00
a652dda18d vim: fix plugin dependencies 2023-07-08 22:34:32 +02:00
3e9376bf82 vim: stylistic tweaks 2023-07-08 22:15:37 +02:00
a00e28b031 vim: migrate plugin configuration to lazy.nvim 2023-07-08 21:55:52 +02:00
9611578728 vim: replace packer.nvim with lazy.nvim 2023-07-08 21:51:11 +02:00
c41b60a78b vim: rename treesitter parser 'help' -> 'vimdoc' 2023-07-05 21:52:26 +02:00
a7526cc341 nvim: grep for selected text with Telescope 2023-05-05 18:10:42 +02:00
9c536cf2ae nvim: add mapping to find all files with Telescope 2023-05-05 14:35:37 +02:00
c3be7795d1 nvim: better key bindings for quickfix list 2023-05-05 14:17:20 +02:00
d889b4b8fc nvim: better key bindings fog tab navigation 2023-05-05 14:17:05 +02:00
dc4875bcec nvim: remove unused keymaps 2023-05-05 14:12:48 +02:00
9326034ef9 nvim: make nvim-tree on_attach keymaps local to the tree buffer 2023-03-01 11:55:03 +01:00
75d637ac04 nvim: recognize git & ssh configs within the dotfiles tree 2023-02-28 22:43:50 +01:00
2cbdf5607a nvim: nvim-tree deprecations: use api and on_attach 2023-02-27 19:01:16 +01:00
3613f7d61f nvim: better error handling during packer bootstrap 2023-01-31 14:57:51 +01:00
12217bc70b nvim: visual tweaks to Telescope 2023-01-31 10:54:08 +01:00
22836262a3 nvim: remove keymaps that I never use 2023-01-31 10:54:08 +01:00
88fe23f878 Revert "nvim: keymap to move to begin/end of line in command line mode"
This reverts commit eedb9b8e2e.

I hadn't noticed that <c-e> works by default already in command mode and
<c-b> moves the cursor to the beginning of the line. I'll use the
default key bindings.
2023-01-30 19:43:18 +01:00
eedb9b8e2e nvim: keymap to move to begin/end of line in command line mode 2023-01-30 18:47:36 +01:00
2d22b82245 nvim: disable 'wrapscan' 2023-01-29 22:44:18 +01:00
55239a2977 nvim: keymap for better search results navigation 2023-01-29 20:43:07 +01:00
95021fe33b nvim: keymap to improve joining lines 2023-01-29 20:43:07 +01:00
4c51020bac nvim: improve Telescope man_pages fix for macOS and FreeBSD
This commit makes sure that the fix from 681dd28 is only applied when
running on macOS Ventura (13.0) and upwards (i.e. Darwin >= 22.0) or
FreeBSD.
2023-01-29 20:42:28 +01:00
4b1588f253 nvim: customize most Telescope pickers in the setup() function
This is just a refactor to make the code a bit nicer to read.
2023-01-29 15:15:31 +01:00
681dd280cb nvim: fix :Telescope man_pages in macOS Ventura
See: https://github.com/nvim-telescope/telescope.nvim/issues/2326#issuecomment-1407502328
2023-01-28 23:37:39 +01:00
82df3ed13e nvim: remove 'cursor' layout from cycle in Telescope 2023-01-28 23:37:13 +01:00
cf5d50e324 nvim: remove conflicting keymap <c-h> in Telescope file_browser
This key combination is used for toggling hidden files by default, which
is more useful than what I was doing.
2023-01-28 23:35:42 +01:00
d9cb38c8b2 vim: move all configuration into the user module 2022-12-18 20:31:00 +01:00
ce81d3553a vim: keymap to switch from terminal mode to normal mode 2022-12-16 20:26:57 +01:00
c728f7b085 vim: tweak how lualine displays the mode 2022-12-16 20:26:38 +01:00
576ded4646 vim: change keymap to start treesitter incremental selection
The previous '<CR>' mapping was causing too many false starts of the
incremental selection, especially because of the way I have my keyboard
configured, where the Ctrl and Enter keys are "shared".
2022-12-16 08:51:23 +01:00
460727c6c8 vim: learn my name's spelling 2022-12-15 18:25:26 +01:00
c3fd8e6f9e vim: enable filetype detection for local SSH configurations 2022-12-14 12:16:58 +01:00
b52c289738 vim: fix packer bootstrapping 2022-12-13 12:57:02 +01:00
3e61fb902a vim: initialize colorizer only if termguicolors is set
This additional check is needed because when nvim is started as `nvim -u
NORC`, my configuration that sets `termguicolors` is not called but
colorizer IS installed and requires `termguicolors` to be set. If it is
not set, the setup() function prints an error.
2022-12-13 12:54:26 +01:00
b824717c68 vim: prevent errors on startup when plugins are not installed 2022-12-13 12:53:37 +01:00
dad81aecb5 vim: move solarized.nvim plugin into dotfiles repository 2022-12-12 21:04:16 +01:00
f3a493d6f6 vim: more tweaks to lualine
1. Show the filename in italics if file is modified.
2. Put the plus sign on the right of the filename and make it stand out.
3. The symbols I was using were not rendering well on macOS and don't
   really have the time to debug this now. Just use simpler line.
2022-10-25 20:55:14 +02:00
07d45f7a8b vim: solve telescope keymap conflict 2022-10-20 12:19:56 +02:00
cb498ade4b vim: lualine: add file status, remove diff 2022-10-20 12:19:18 +02:00
d990886087 vim: small tweak to status line 2022-10-14 15:54:19 +02:00
269a54e865 vim: fix telescope mapping
It turns out that `<c-i>` collides with `<Tab>`.
2022-10-14 10:31:45 +02:00
045b0cfd91 vim; better auto-complete options 2022-10-14 10:20:11 +02:00
77b7b4f3b7 vim: improve nvim-tree behavior and add mappings 2022-10-14 09:47:19 +02:00
ef0a5effab vim: refactor telescope configuration 2022-10-13 16:12:34 +02:00
e49fa55b22 vim: use a proper notification if file_browser is not installed 2022-10-13 15:49:28 +02:00
59984e13dd vim: update spellings 2022-10-13 15:44:09 +02:00
856d8876e4 vim: improvements to telescope mappings 2022-10-13 14:42:24 +02:00
507912ab3f vim: prevent crash on init if telescope file_browser is not installed 2022-10-13 12:57:55 +02:00