Commit graph

830 commits

Author SHA1 Message Date
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
0be2a1b45e vim: remove configuration for unused plugin (ctrlp) 2022-07-01 20:30:50 +02:00
cc80cae223 path: don't add directories to PATH if they don't exist 2022-07-01 11:31:35 +02:00
27035f0a29 path: add comments for clarity 2022-07-01 11:25:55 +02:00
6e11b63150 path: convert indentation to 2 spaces 2022-07-01 11:20:16 +02:00
242d210ff8 git: ignore iTerm2 configuration 2022-06-30 21:51:09 +02:00
7d8ed1acee env: use curl and coreutils from /usr/local/opt if available
This is where Homebrew installs these alternatives to the system version
of these tools and I would like to have them override the defaults.
2022-06-30 21:41:17 +02:00
f441587f2f tmux: tweak status line colors 2022-02-19 01:41:06 +01:00
c39761f4a1 tmux: tweak message and command styles 2022-02-19 01:16:40 +01:00
453b0e6b93 tmux: add new key bindings to manage windows/panes 2022-02-19 01:08:46 +01:00
56e0574d1e tmux: small visual tweaks 2022-02-19 00:02:19 +01:00
7c22d4bbb5 vim: add nice icons to telescope 2022-02-17 23:22:55 +01:00
36af2e47e6 vim: minor cosmetic change 2022-02-17 23:01:34 +01:00
411f814161 vim: fix transparent background for indent lines and virtual column 2022-02-17 23:01:06 +01:00
818f222ca9 vim: disable nvim-tree autoclose 2022-02-17 22:49:53 +01:00
46044ab516 vim: add useful lua global functions 2022-02-17 22:24:08 +01:00
a301b0fd14 vim: move extra telescope functions into configuration 2022-02-17 22:23:38 +01:00
ca6c534600 vim: better macros to move lines
The old macro got triggered unintentionally all the time, especially
when leaving Insert mode. The reason was that one way terminals can
emulate <Alt> modifier key is by sending <Esc> rapidly followed by the
key that is supposed to be modified. So, when pressing <Esc> to leave
Insert mode and immediately pressing J to go down, my current line was
moved – not the intended behavior and incredibly annoying.
2022-02-15 15:40:23 +01:00