Commit Graph

209 Commits

Author SHA1 Message Date
Talia 70be955b0a Small Improvement 2017-12-18 11:02:12 +01:00
Talia 1b828ace39 Did Stuff 2017-11-16 16:34:43 +01:00
Talia bbf97daec6 Mostly window width/height stuff
* Default is now equal distribution, as I was using windows for what
tabs are usually for.
* Vim 8.0 indentation features are now used when available
2017-11-16 14:09:18 +01:00
Talia 28709c0cf9 Switched <leader>[ and <leader>] 2017-11-16 11:19:42 +01:00
Talia ece9647757 Removed <C-q> because accidents happen 2017-11-13 18:34:19 +01:00
Talia b9f51cd5b4 Improved autoclose + new mappings
* Autoclose now does pairs of the same character, like "" or ``
* New mappings for surrounding visual selection with opening/closing pairs
2017-11-13 16:00:55 +01:00
Talia 4a022485c9 Merge branch 'master' of https://github.com/DarkWiiPlayer/darkrc 2017-11-13 08:06:02 +01:00
Talia ac0946208e Improved Lua stuff 2017-11-12 19:55:15 +01:00
Talia 5587521b7f Fixed autoclose 2017-11-10 13:43:23 +01:00
Talia 73005287e0 Removed guifont setting for good 2017-11-08 08:13:35 +01:00
Talia 5d8f195aee Lua auto-closing and setting local WD 2017-11-07 16:58:55 +01:00
Talia 511207ae3b Added number increment/decrement bindings 2017-11-07 16:55:22 +01:00
Talia 4387105882 Auto-close now detects closing tag on next line 2017-11-07 15:41:36 +01:00
Talia 5b8f2255cc Added auto-closing feature
* Auto-close pairs can be registered with a function call
* Typing an "opening" character automatically inserts the matching closing character.
* Typing <enter> between an opening and a closing character inserts two new lines. Autoindent should take care of indentation.
2017-11-07 15:28:10 +01:00
Talia a59faeb51b Formatting 2017-11-06 16:31:27 +01:00
Talia 2d7bb18228 For real this time™ 2017-11-06 13:18:40 +01:00
Talia 153a21354d Merge branch 'master' of https://github.com/DarkWiiPlayer/darkrc 2017-11-06 11:29:47 +01:00
Talia 694e3af8f2 Re-enabled swap files\n\nLet's see how this works out and whether I have to change it back or not. 2017-11-06 11:29:05 +01:00
Talia 5329a42c56 Default encryption should be blowfish if possible 2017-11-06 10:07:53 +01:00
Talia b83b516445 Some movement commands 2017-11-06 10:00:07 +01:00
Talia c42768776f Added HTML template extensions 2017-11-04 13:16:10 +01:00
Talia 0a1cd0f87a Removed ruby autoindenting and <C-s> saving
* Disabled <C-s> saving
* Removetrailing spaces now restores last searched pattern
* Removed ruby autoindenting
2017-11-03 08:09:12 +01:00
Talia c34d46cd2f Minor improvements + ]p and [p
* Improved visual selection
* Improved standard ]p and [p
* Fixed ruby autoindentation
2017-11-01 12:43:42 +01:00
Talia 18335cc569 Streamlined ruby autoretabbing 2017-11-01 06:54:16 +01:00
Talia ebf84e7d34 Clipboard fix + Search selection + Search cword fix
* Now use the correct clipboard register depending on whether unnamedplus is available
* Added word boundaries to replace cword function from normal mode
* Added replace selection mapping in visual mode
* Copied VisualSelection() function from stack overflow (source link in code)
2017-10-31 13:52:03 +01:00
Talia f627f0ca1a Inserted easy search-and-replace
Shift+R enters command mode and puts :%s/<cword>/ in the command line (TODO: Visual mode support)
2017-10-31 09:12:02 +01:00
Talia 1de53904d9 Merge branch 'master' of github.com:DarkWiiPlayer/darkrc
Conflicts:
	vimrc
2017-10-30 16:56:35 +01:00
Talia becf1b1e60 Added Lua stuff 2017-10-30 16:52:24 +01:00
Talia 30a6db56ee Added HTML stuff
* Improved ruby find commands to not include keywords like "def" and "class"
* Saving now jumps back to last position after undoing retab in ruby files
* Added HTML block
* Added HTML mappings to expand word under cursor to opening and closing tag
2017-10-30 15:50:14 +01:00
Talia f90c93a19b Several quickfix and location list related things
* Moved general utilities block
* Added MatchingLinesDict function
	Works like MatchingLines, but returns a dictionary compatible with setqflist() and setloclist()
* Added [Q|L]add[line|cursor] commands
* Added LFind and QFind commands
2017-10-30 13:01:10 +01:00
Talia d4a429dfda Two minor improvements 2017-10-26 16:32:00 +02:00
Talia 0cb716e650 2 new commands (Todo & Fixme) + mapping fixes 2017-10-26 13:24:02 +02:00
Talia 3eea5c99c9 Duplicated window height stuff for window width 2017-10-26 13:08:27 +02:00
Talia cba78ca0eb Moved file-specific stuff do functions 2017-10-26 12:39:08 +02:00
Talia f542d8987f Lots of Improvements! :)
Moved some navigation-related stuff together.
Added `Matchinglines(pattern)` function that returns a list of lines where
`pattern` is found in a format understood by `lex` and `cex` commands.
Added three new ruby commands that find method, class and module
definitions in a file and ad them to the location list.
2017-10-26 11:10:43 +02:00
Talia e328b6724f Added some window height things
FIX: SetWinMinHeight no longer crashes when argument < 0
  FIX: <leader>- no longer crashes when already at winminheight=0
ADD: New command Equal makes all windows equally big (and sets
minwinheight to 0 in the process, use <leader>- to reset them)
2017-10-26 08:49:54 +02:00
Talia 399fdda6a3 Undofile + comments
Removed / changed some comments
Changed the path of the undo-file to not be 100% specific to my
workspace setup
2017-10-24 11:46:48 +02:00
Talia 5934af1833 Minor changes + session options 2017-10-24 11:39:53 +02:00
Talia fa2ec57364 Fixed a few things with normal mode newline 2017-10-24 09:40:54 +02:00
Talia 8edad2f43d New-line function now clears new line
This is only relevant when vim auto-generates some text for the new
line, for example then continuing multiple line comments.
2017-10-23 14:28:12 +02:00
Talia 8d5389a879 Custon HL group for word under cursor
The variable b:word_hl can now be set to set a custom highlighting group
for the word-under-cursor functionality.
2017-10-20 12:39:20 +02:00
Talia 98e757172b Commented out a debugging output
I kinda forgot to remove that in the previous
commit tehe~
2017-10-20 09:57:34 +02:00
Talia cf9ffa6148 Improved word-under-cursor matching to *only* match whole words 2017-10-20 09:54:52 +02:00
Talia 812e00aa3b Mostly improved the normal-enter functionality 2017-10-20 09:45:49 +02:00
Talia af04763824 Added insert before WORD and append after WORD mapping 2017-10-19 08:41:26 +02:00
Talia eb9f1a06c9 Some minor changes :) 2017-10-18 19:15:31 +02:00
Talia d6647b86e0 moved some color-related stuff to gvimrc file 2017-10-18 18:58:06 +02:00
Talia 01b1a199a3 Greatly changed .vimrc file 2017-10-18 18:50:13 +02:00
Talia b926f92e76 added duplicate current line mapping on <C-d> 2017-10-05 19:07:22 +02:00
Talia a789c0f15e fixed some my own stupid mistake while merging :/ 2017-10-05 19:06:37 +02:00
Talia 5e367a8732 Merge branch 'master' of github.com:DarkWiiPlayer/darkrc
Conflicts:
	vimrc
2017-10-05 19:02:20 +02:00
Talia f875ca63b4 Some minor fixes in the vimrc file 2017-10-05 19:00:48 +02:00
Talia 621eebbe99 Added leader character and one shortcut 2017-09-06 08:50:34 +02:00
Talia 0c715d79f0 Made some improvements to .vimrc 2017-09-01 13:19:15 +02:00
Talia 39a0932b95 Added line numbers + <F3> to toggle them locally 2017-08-19 11:35:28 +02:00
Talia 16e111489e This doesn't work well on the server, thus I am removing it 2017-08-19 09:06:55 +02:00
Talia 85b22787ba Changed the shortcut for retab because terminal
New shortcut:
  <Shift-Tab> retab
  <Shift-Tab>x2 change tab mode
2017-08-19 09:02:59 +02:00
Talia 380ce2d794 forgot to add the retab stuff I had forgotten :P 2017-08-19 08:51:33 +02:00
Talia 5aaa281614 Added .vimrc and .bashrc configs to the repo 2017-08-19 08:48:08 +02:00