Commit graph

37 commits

Author SHA1 Message Date
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
d98842295f vim: add nice progress bar to statusline 2022-02-10 00:35:31 +01:00
075187658a vim: improve tab navigation mappings 2022-02-09 23:43:06 +01:00
fc36e5e32a vim: add EOL symbols 2022-02-09 23:42:43 +01:00
fdbcc5ee2f vim: improve quicklist usage 2022-02-09 23:42:08 +01:00
cfef55a487 vim: rename buffer local maps for consistency with nvim API 2022-02-09 23:14:25 +01:00
0edb597382 vim: merge lua utils 2022-02-09 23:09:51 +01:00
258e0a6569 vim: make plugins.lua more readable 2022-02-09 22:17:31 +01:00
93137dfd3e vim: add nvim-tree extension to lualine 2022-02-09 17:37:20 +01:00
df1cb09467 vim: better navigation between tabs 2022-02-09 16:53:50 +01:00
b4fb3ec5cd vim: add spellcheck file and yellow highlight for mistakes 2022-02-09 16:51:38 +01:00
dc99e9606f vim: configure vim-colors-solarized like other plugins 2022-02-08 20:24:25 +01:00
15a0238078 vim: organize my lua utilities 2022-02-08 20:11:18 +01:00
001d800afd vim: better control over plugin configurations 2022-02-08 19:56:32 +01:00
388bfe43db vim: move color definitions to a separate module 2022-02-08 00:00:55 +01:00
bdc50e41ea vim: replace NERDTree with nvim-tree.lua 2022-02-07 23:25:02 +01:00
61f0b64b84 install: make ~/.config a symlink into dotfiles 2022-02-07 19:26:29 +01:00