Commit graph

1047 commits

Author SHA1 Message Date
5196475113 vim: start using treesitter 2022-10-07 18:05:07 +02:00
f41a8a426e vim: use 2 spaces for indentation in Markdown files 2022-10-07 12:08:45 +02:00
9a83027d39 vim: minor tweak of how packer is loaded 2022-10-07 08:52:29 +02:00
807d27f2d9 vim: fix hiding .git/ in nvim-tree 2022-10-05 23:54:22 +02:00
53d9de2c07 vim: configure colorbuddy and lualine via after/plugin 2022-10-05 17:03:46 +02:00
c4495a5e6c vim: add vim-visual-multi plugin for multiple cursors 2022-10-05 14:35:52 +02:00
861c13b7bd vim: clean up old mapping functions 2022-10-05 00:09:33 +02:00
9011cadd56 vim: only execute config if respective plugin is installed 2022-10-04 23:58:56 +02:00
ca271dd50c vim: move configs to after/plugin/*.lua -> less packer dependence 2022-10-04 23:40:53 +02:00
89d7683edc vim: add more patters to tabular 2022-10-04 21:52:16 +02:00
bb59168c52 vim: fix tabular configuration via packer 2022-10-04 21:51:32 +02:00
e43563fdf3 vim: add first_comma pattern to tabular 2022-10-04 13:43:03 +02:00
fa07d7f405 vim: add markdown support to my solarized theme 2022-10-04 13:42:36 +02:00
52135761d5 vim: remove plugin 'plasticboy/vim-markdown' 2022-10-04 13:31:29 +02:00
370bce273b vim: tweaks to Telescope icons 2022-10-04 13:28:47 +02:00
38173a4577 vim: indent zsh files with 2 spaces 2022-10-04 10:36:44 +02:00
c251c81fec vim: add keymap for Telescope live_grep 2022-10-04 10:22:41 +02:00
8e3631afa7 vim: add keymap for Telescope keymaps 2022-10-04 09:54:04 +02:00
a3dd1908e5 vim: better vim-fugitive key bindings 2022-09-28 23:04:29 +02:00
a7213a1897 vim: make line numbers more visible 2022-09-28 23:04:02 +02:00
38476f668c vim: add feedback for lua executor
This is useful when executing lines that produce no output, so I have
some confidence that something actually happened when pressing the key
bindings.

I am printing the message before executing the command because otherwise
this feedback would shadow the output of the command being executed
(which I am presumably interested in and would serve itself as
feedback).
2022-09-28 23:01:12 +02:00
8cb0e94698 env: fix shellcheck errors and warnings 2022-09-28 13:12:44 +02:00
210978ab8f env: only set DISPLAY on WSL if an Xserver is reachable
Neovim always uses `xclip` as the clipboard provider if DISPLAY is set.
Therefore, if we set it unconditionally, `xclip` hangs while trying to
reach the server if this hasn't been started, causing all sorts of
chaos.
2022-09-28 13:02:49 +02:00
f174612d03 tmux: use base04 for status-style background 2022-09-26 21:15:40 +02:00
0abe37c888 Update README 2022-09-26 21:06:39 +02:00
45ed3965f0 vim: add mapping to display syntax highlighting groups 2022-09-26 20:00:52 +02:00
ac34dfeeaa vim: customize solarized colorscheme 2022-09-26 19:56:53 +02:00
0b7989d4ab vim: only highlight number of current line 2022-09-26 19:21:32 +02:00
c1bea90524 vim: add base04 color 2022-09-26 19:19:12 +02:00
67569421da vim: more solarized refactoring 2022-09-26 16:58:04 +02:00
62ca6bd92f vim: remove options from solarized plugin 2022-09-26 16:24:04 +02:00
734b4ec53e vim: fix formatting 2022-09-26 16:13:48 +02:00
7b5f99f723 vim: use colorbuddy for managing coloscheme
Initial solarized theme copied from:

  https://github.com/svrana/neosolarized.nvim/blob/main/lua/neosolarized.lua
2022-09-26 16:09:00 +02:00
58ef45c013 env: set $DISPLAY to use X server in WSL 2022-09-26 11:25:28 +02:00
7426716732 tmux: hold down CTRL to move between panes
This makes the movements a bit faster and more fluid because I can just
keep my finger on CTRL after typing in the prefix.
2022-09-22 15:56:29 +02:00
9fae598106 vim: add some more spellings 2022-09-22 15:56:29 +02:00
4060d091d7 vim: add mapping to execute multiple lines of lua code 2022-07-25 23:30:38 +02:00
02da9a1479 vim: fix Telescope config location
I had moved the file but forgot to update the mappings.
2022-07-19 16:26:56 +02:00
e3392ff794 vim: remove Vagrant filetype detection
Neovim detects automatically that Vagrant files are written in Ruby.
2022-07-18 23:50:20 +02:00
2e0bf595ce vim: slightly flatten lua/fs directory 2022-07-18 23:48:08 +02:00
74fc686daa vim: move most plugin configurations to plugins.lua 2022-07-18 23:48:08 +02:00
422efc6210 vim: remove SREC plugin
Neovim has built-in support for SRecord files.
2022-07-18 23:47:47 +02:00
d74148aea4 vim: inline packer startup function 2022-07-18 22:08:51 +02:00
f9b463b408 vim: remove keymap for listing and switching buffers
This functionality has been replaced with `<leader>fb`, which used
Telescope to fuzzy find open buffers. This is much better because the
list of buffers is more readable and Telescope supports live preview of
the contents before switching.
2022-07-18 17:44:14 +02:00
55f73c2ef5 vim: show man pages from all sections with telescope 2022-07-18 16:48:10 +02:00
b03d7d016d vim: show hidden files when searching dotfiles with telescope 2022-07-04 22:33:38 +02:00
8420604bf4 vim: use setup options for nvim-tree.lua instead of global variables
The helper function used to set global variables is also no longer
needed now that nvim-tree.lua has migrated all of its configuration from
global variables to setup options.
2022-07-04 15:06:41 +00:00
10466e0391 vim: use nvim 0.7 new API for create autocmds in lua 2022-07-01 22:30:50 +02:00
cedb033443 vim: set map leader as early as possible in init.lua 2022-07-01 21:38:42 +02:00
97839fa58b vim: use vim.keymap instead of custom functions
`vim.keymap` was introduced in nvim 0.7, so this is the minimum  version
required for this to work.
2022-07-01 21:37:04 +02:00