aboutsummaryrefslogtreecommitdiff
path: root/autoload
Commit message (Collapse)AuthorAge
* Fix for deprecated `insertmode` option in NeovimHEADmainThomas Buckley-Houston2022-05-23
| | | | | | | | | | This is just the minimal fix, there may be other side-effects. But I actually think this might make things easier, as it looks like this cleans up Insert mode into a cleaner abstraction. Perhaps now we will stay in Insert mode longer, without randomly being dropped into Normal mode by presumptive plugins. Neovim PR here: https://github.com/neovim/neovim/pull/18547
* Allow indentation to be repeatedThomas Buckley-Houston2022-05-11
|
* Default to xterm-mode selectionThomas Buckley-Houston2022-05-11
| | | | | | | | | | | | | | This allows snippet plugins to do their magic tabbed selection of positions to fill in a snippet. For example when you want to complete an `if~`, snippet plugins populate the buffer at that cursor position with a skeleton of an `if` statement and select the parts that you want to customise yourself. This is only possible if the default selection mode is xterm. So in this commit we carefully manage using mswin-style selection when the user initiates it with SHIFT keys etc. The only downside is that I haven't found a way to detect when mouse selection starts in order to move it away from xterm selection to mswin sselection.
* Make CTRL-Q leave from the Vim command line tooThomas Buckley-Houston2022-05-11
|
* Allow `:term` buffers to receive inputThomas Buckley-Houston2021-12-11
|
* Fix for triggering WrappedTextBehaviourThomas Buckley-Houston2021-12-10
| | | | I don't think the `setlocal` command was having any effect?
* Remove `<C-C>` and `<C-X>` INSERT mode shortcutsThomas Buckley-Houston2021-12-10
| | | | | | | | `<C-C>` copies a line in insert mode and `<C-X>` cuts a line in insert mode. They're not particularly essential, just conveniences. But `<C-X>` causes problems in termux as reported in #8. And `<C-C>` is just a natural companian command, so it'd be weird to have one without the other.
* Remove `<C-O>` shortcut to open filesThomas Buckley-Houston2021-12-10
| | | | | It causes too many conflicts with other plugins that expect the standard `<C-O>` behaviour.
* Fix missing endifj-james2021-05-28
|
* Fix Markdown syntax highlightingj-james2021-05-28
|
* Prompt when closing or quitting w/ unsaved changesj-james2021-05-28
|
* Toggle `set paste` when pastingThomas Buckley-Houston2017-07-29
|
* Better non-wrapped HOME/END. Use system clipboard.Thomas Buckley-Houston2017-07-25
|
* Actually compare `has('timers')` to something :/Thomas Buckley-Houston2017-06-25
| | | | | | | | This properly deals with versions of VIm that don't support timers. So that older versions of Vim still work but run into the bug where some panes get insertmode inappropriately set. Touches #4
* Extend some mappings to include selection modeThomas Buckley-Houston2017-06-25
|
* Lessons learned from original Vim in the terminalThomas Buckley-Houston2017-06-22
| | | | | | | | | | | | * Removed `Esc` keybinding for deselecting found text (not that important anyway). Because it was causing arrows key to output escaped portion of their internal code. * Added `ALT+c` combination as companion to `ALT+;`. * Don't load plugin if Vim doesn't support `timers`. * Recommended use of `vim-fixkey` for terminal Vim. * Added better notes about disabling `CTRL+S` terminal suspension. Touches #3
* Better movement through wrapped textThomas Buckley-Houston2017-06-15
|
* Don't deselect after CTRL+C to copyThomas Buckley-Houston2017-06-15
|
* Paste over selection / And <Alt-o> for normal modeThomas Buckley-Houston2017-06-12
| | | | | | | So when you paste something and there's an active selection of text then the selection is replaced by that which is pasted. Also, includes <Alt-o> for normal mode shortcut to `:`
* Millisecond delay before checking &buftypeThomas Buckley-Houston2017-06-12
| | | | | | | | | | | | Fixes bug where some buffers, well actually a lot of buffers, don't immediately set their &buftype/&modifiable/&readonly state. Hopefully now any buffer like NERD_Tree, Fugitive's GBlame, Vim-Plug's update buffer, quicklist, location, etc, etc. This has been a looooong standing bug. It makes me very hapy to fix this. I've set the delay to 1 millisecond, so be prepared that more is needed.
* Fix test runnerThomas Buckley-Houston2017-06-10
|
* Formalise plugin: functions, autoload, testsThomas Buckley-Houston2017-05-30