Commit graph

860 commits

Author SHA1 Message Date
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
c3a02944b3 vim: tweak telescope flex layout 2022-02-15 12:23:01 +01:00
6b7fd02c98 vim: make telescope prettier 2022-02-14 19:22:24 +01:00
be90870000 vim: fix loss of cursorline when using Telescope
The issue was that 'cursorline' is a window option but I was storing the
original value in global variable. So when Telescope (which has
'cursorline' not set in its window) entered insert mode, the InsertEnter
autocmd caused the global variable to store 0 (nocursorline). After
this, every InsertLeave event would use the global value and eventually
disable the cursorline everywhere.
2022-02-14 18:31:54 +01:00
2498e73c10 vim: move custom highlights to colorscheme config() 2022-02-14 17:20:33 +01:00
afdda2d4f3 vim: add telescope 2022-02-14 14:28:46 +01:00
493e313cf5 vim: change rainbow parens mapping for consistency 2022-02-14 10:07:47 +01:00
a29ab8a546 vim: replace trailing whitespace plugin 2022-02-14 10:06:42 +01:00
1495563e96 vim: add Lua language reference 2022-02-14 00:23:05 +01:00
ebba2f48fd vim: add mappings to toggle listchars visibility 2022-02-14 00:19:51 +01:00
dd0ce00e04 vim: convert plugins.lua to tabstop=2 2022-02-14 00:15:28 +01:00
e63498414a vim: fix nvim-tree configuration 2022-02-14 00:13:50 +01:00
1529b88178 vim: factor out highlight function into fs.util 2022-02-14 00:11:31 +01:00
c79b16f79a vim: tweak mapping <leader>sc -> show colorcolumn 2022-02-13 23:10:07 +01:00
cc0c3c8b84 vim: add optional indentation guides 2022-02-13 23:08:59 +01:00
ead3b09d6e vim: use virt-column for a nice colorcolumn 2022-02-13 22:36:11 +01:00
4e65b28abf vim: add nvim-lua/plenary.nvim 2022-02-13 22:31:36 +01:00
d069665619 vim: make statusline responsive to window width 2022-02-13 21:57:27 +01:00
a4cbc15d0c vim: make mode in statusline always same width 2022-02-13 21:17:42 +01:00
4321433d73 vim: use moon in statusline for progress 2022-02-13 20:47:53 +01:00
cfb1802c59 vim: WIP statusline 2022-02-13 20:34:45 +01:00