Commit graph

352 commits

Author SHA1 Message Date
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
facde2d550 vim: add telescope file browser 2022-10-12 23:05:11 +02:00
6cf3c04ae4 vim: add 'colorizer' plugin 2022-10-12 22:41:17 +02:00
6f4dcf607a vim: open fugitive in new tab 2022-10-12 22:30:33 +02:00
12c0d33b22 vim: add a couple of useful mappings 2022-10-12 22:28:00 +02:00
137028ae6e vim: remove dangling key mapping 2022-10-12 22:12:56 +02:00
3ad4f78e65 vim: simplify keymap setting 2022-10-12 22:11:42 +02:00
fbae8f83fc vim: move globals to their own file 2022-10-12 21:52:12 +02:00
e1bd1a7051 vim: add PP() global for pretty printing 2022-10-12 21:50:20 +02:00
3711e4c143 vim: simplify option setting 2022-10-12 21:49:02 +02:00
c40996d2c7 vim: remove plugin 'elzr/vim-json' 2022-10-12 13:30:09 +02:00
5b07394bdd vim: update spellings 2022-10-12 12:50:28 +02:00
69fd9edcb8 vim: tweak mappings for nvim-tree 2022-10-12 12:49:49 +02:00
9f7e55bd96 vim: make it easier to work on my plugin 2022-10-11 22:26:36 +02:00
f5f0a0cb4b vim: prevent errors if colorscheme is not yet installed 2022-10-11 22:25:06 +02:00
1bb221ea3e vim: extract the solarized colorscheme into a plugin 2022-10-11 19:48:15 +02:00
4b58f5ec3d vim: re-enable markdown highlighting via treesitter 2022-10-11 19:34:42 +02:00
2d62bd0b6e vim: make lualine configuration independent of fs.util 2022-10-11 14:32:58 +02:00