Commit Graph

185 Commits (22ad16a8cb1e05ff9771dc3d37875cf4f3c5728f)

Author SHA1 Message Date
Bo Jeanes d95a496d9d [vim] Don't choose first auto-complete on ENTER
This is really annoying at the end of a line when you might actually
mean _next line_. I'd rather hit TAB then ENTER to explicitly tab
through the auto-complete list.
2020-08-25 08:14:38 +10:00
Bo Jeanes 12b8e40957 [vim] Convenient terminal behaviour
Alt+T to toggle a 12-row high split at bottom
2020-08-24 14:32:36 +10:00
Bo Jeanes 0d6565f2e7 [vim] Add vim-test and mappings 2020-08-24 14:32:31 +10:00
Bo Jeanes 79c8718ae7 [vim] Select tab completion with Enter 2020-08-24 14:32:28 +10:00
Bo Jeanes 9fb6b41701 [vim] Add snippets 2020-08-24 14:32:25 +10:00
Bo Jeanes aea690dbc4 [vim] Make default text width wider
I _do_ prefer code in narrower style than long lines, but I have been
persuaded that 80 characters is too narrow on today's high-DPI,
wide-screen monitors. 120 is pushing it in terms of readability
nonetheless (lots of research to show that humans have difficulty
reading long lines, mostly because progressing to the next line can mean
we lose our place).
2020-08-24 14:32:22 +10:00
Bo Jeanes 121dfecded [vim] Re-use buffers 2020-08-24 14:32:22 +10:00
Bo Jeanes a93500bf6f [vim] Add a few plugins
- CtrlSF for project-wide find and replace
- vim-visual-increment allows numbering a visually-selected column
  incrementally
- vim-visual-multi gives multiple cursors at once allowing for easy
  refactors of certain kinds
2020-08-24 14:32:22 +10:00
Bo Jeanes 60426276ba [vim] Fix warning 2020-08-24 14:32:22 +10:00
Bo Jeanes 22477d38a6 [vim] Use CoC.nvim for Ruby and Rust; disable ALE 2020-08-24 14:32:22 +10:00
Bo Jeanes 85afb5c2df [vim] Hide indent lines in FZF panel 2020-08-23 11:20:43 +10:00
Bo Jeanes 280d908f17 Erlang/elixir tweaks
These were on my old laptop uncommitted so I don't remember why some of
these changes were made, but I trust they were probably done for a good
reason :)
2020-06-13 14:32:29 +10:00
Bo Jeanes 8eee4d0ca5 Enable auto-formatting in Vim with rustfmt 2020-06-13 14:32:12 +10:00
Bo Jeanes 88b3373622 [vim] Remove RootIgnore plugin, as it errors 2019-09-08 12:14:13 +10:00
Bo Jeanes c16182e9fe [vim] Misc 2019-09-08 12:11:57 +10:00
Bo Jeanes ce7cb683d7 [vim] Set tags manually in prep for next fugitive
63a05a6935
2019-09-08 12:11:50 +10:00
Bo Jeanes 660f86d59a [vim] Fix cursor highlighting w/ matching pairs
https://github.com/tomasr/molokai/issues/74#issuecomment-529159596
2019-09-08 12:11:31 +10:00
Bo Jeanes 9118189c76 [vim] More "targeted" text objects around pairs 2019-09-08 12:11:31 +10:00
Bo Jeanes b342bb81fe [vim] Change working directory to Git root 2019-09-08 12:11:31 +10:00
Bo Jeanes 90ad7e8d4d [vim] Turn on Elixir auto-formatting but disable Ruby's
Rubocop is just too damn slow.
2019-09-08 12:11:18 +10:00
Bo Jeanes c84ea76a6f [vim] Hide indent lines on markdown (show for JSON) 2019-09-08 12:11:06 +10:00
Bo Jeanes b050e38c50 [vim] Use release tags for plugs with release tags 2019-09-08 12:10:44 +10:00
Bo Jeanes 7c3a70f099 [vim] Nicer commit interface with Vim as editor 2019-09-08 12:10:33 +10:00
Bo Jeanes d309ffdb92 [vim] Tighten NERDTree config 2019-09-08 12:10:33 +10:00
Bo Jeanes e5a010824a Separate section 2019-09-08 12:10:23 +10:00
Bo Jeanes eddd4fad21 [vim] Nice Startify config 2019-09-08 12:10:19 +10:00
Bo Jeanes 6f9907c88c
Remove stale comment 2019-08-29 13:29:54 +10:00
Bo Jeanes 48756ec649 Make vim-which-key snappier 2019-08-29 12:50:13 +10:00
Bo Jeanes 2db5054bb8 fixup! Update (Neo)Vim plugins after running Fresh 2019-08-29 12:49:37 +10:00
Bo Jeanes 0132966dc3 Map vim toggles with <leader>t prefix 2019-08-29 12:48:30 +10:00
Bo Jeanes f447f7ee36 Fix vim modeline on freshrc 2019-08-29 12:43:43 +10:00
Bo Jeanes e1883c19cd Re-jig vim setup. 2019-08-29 10:07:39 +10:00
Bo Jeanes 6bbfeffcd2 Config will auto-create plug.vim so don't commit it 2019-08-29 10:06:17 +10:00
Bo Jeanes 49ba55207f /shrug 2019-07-22 16:21:32 +10:00
Bo Jeanes 43d3403c79 vim stuff 2017-04-02 10:14:41 +10:00
Bo Jeanes 0a87a67cee Update vim-plug 2017-02-21 12:30:46 +11:00
Bo Jeanes 56a454fdda Updated (n)vim config 2016-07-04 17:37:15 +10:00
Bo Jeanes 7082d2d910 Get rid of powerline submodule 2016-07-04 17:36:25 +10:00
Bo Jeanes 3f7b304683 emacs stuff 2015-10-10 15:06:55 +11:00
Bo Jeanes bab84a1fa0 Use stable CIDER and clj refactor 2015-09-05 23:47:12 +10:00
Bo Jeanes 1ef0ecc57e Latest spacemacs config 2015-09-05 22:37:50 +10:00
Bo Jeanes 19a0564b00 latest 2015-08-07 15:19:04 +10:00
Bo Jeanes 3009d6dc23 Spacemacs 2015-08-05 16:46:53 +10:00
Bo Jeanes 8320f2e1c9 Update neobundle 2015-07-05 11:55:57 +10:00
Bo Jeanes 4eef124ddc Default leader 2015-07-05 11:55:28 +10:00
Bo Jeanes cfda3f3e98 Use easy-align instead of Tabular 2015-07-05 11:55:28 +10:00
Bo Jeanes 3f10b9a9fb Add vim-sleuth 2014-05-23 09:07:33 -07:00
Bo Jeanes 3e7c76e044 Dash vim plugin when on mac 2014-05-23 09:03:07 -07:00
Bo Jeanes 91e4fc2bf5 Update NeoBundle 2014-05-23 09:02:17 -07:00
Bo Jeanes a476955dfb Update Clojure setup in Vim 2014-05-23 09:02:04 -07:00