Commit graph

624 commits

Author SHA1 Message Date
d92a7c0bfb fixed enter in normal mode when nomodifiable 2018-01-30 19:12:36 +01:00
3e28a6b265 Improved unsaved command 2018-01-30 19:12:00 +01:00
d88106da00 Fixed enter in normal mode 2018-01-30 19:04:09 +01:00
93b5927968 Improved unsaved 2018-01-30 16:38:39 +01:00
20aa8c1916 Unsaved and Hex commands 2018-01-30 10:47:42 +01:00
c169c1e2fd slightly improved autosave 2018-01-15 19:43:18 +01:00
21a466fbd4 Removed ruby expandtab stuff 2018-01-08 10:50:30 +01:00
5ad0ba7fa9 Added setl number to most file types 2018-01-03 14:20:23 +01:00
20ff99ad55 removed relativenumber 2018-01-03 14:17:55 +01:00
91c31e88ca Enable Blowfish 2 when available 2017-12-19 16:24:58 +01:00
558a474a8f Added double space inside auto-close pairs 2017-12-19 15:57:18 +01:00
33cdbc0995 Moved cursorline option to gvimrc 2017-12-19 15:46:02 +01:00
70be955b0a Small Improvement 2017-12-18 11:02:12 +01:00
1b828ace39 Did Stuff 2017-11-16 16:34:43 +01:00
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
28709c0cf9 Switched <leader>[ and <leader>] 2017-11-16 11:19:42 +01:00
ece9647757 Removed <C-q> because accidents happen 2017-11-13 18:34:19 +01:00
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
4a022485c9 Merge branch 'master' of https://github.com/DarkWiiPlayer/darkrc 2017-11-13 08:06:02 +01:00
ac0946208e Improved Lua stuff 2017-11-12 19:55:15 +01:00
5587521b7f Fixed autoclose 2017-11-10 13:43:23 +01:00
73005287e0 Removed guifont setting for good 2017-11-08 08:13:35 +01:00
5d8f195aee Lua auto-closing and setting local WD 2017-11-07 16:58:55 +01:00
511207ae3b Added number increment/decrement bindings 2017-11-07 16:55:22 +01:00
4387105882 Auto-close now detects closing tag on next line 2017-11-07 15:41:36 +01:00
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
1e334ac9cb Set up gvimrc to be more portable
* gvimrc can now work with locally installed color schemes
* This requires extending the g:colors list after sourcing it
* Also removed old commented block that would never be used again anyway
2017-11-07 11:28:31 +01:00
a59faeb51b Formatting 2017-11-06 16:31:27 +01:00
2d7bb18228 For real this time™ 2017-11-06 13:18:40 +01:00
153a21354d Merge branch 'master' of https://github.com/DarkWiiPlayer/darkrc 2017-11-06 11:29:47 +01:00
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
5329a42c56 Default encryption should be blowfish if possible 2017-11-06 10:07:53 +01:00
b83b516445 Some movement commands 2017-11-06 10:00:07 +01:00
e909c0bb41 Merge branch 'master' of github.com:DarkWiiPlayer/darkrc 2017-11-04 13:16:33 +01:00
c42768776f Added HTML template extensions 2017-11-04 13:16:10 +01:00
d14a968497 Added Vi mode to bashrc 2017-11-04 10:19:44 +01:00
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
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
18335cc569 Streamlined ruby autoretabbing 2017-11-01 06:54:16 +01:00
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
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
1de53904d9 Merge branch 'master' of github.com:DarkWiiPlayer/darkrc
Conflicts:
	vimrc
2017-10-30 16:56:35 +01:00
becf1b1e60 Added Lua stuff 2017-10-30 16:52:24 +01:00
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
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
d4a429dfda Two minor improvements 2017-10-26 16:32:00 +02:00
0cb716e650 2 new commands (Todo & Fixme) + mapping fixes 2017-10-26 13:24:02 +02:00
3eea5c99c9 Duplicated window height stuff for window width 2017-10-26 13:08:27 +02:00
cba78ca0eb Moved file-specific stuff do functions 2017-10-26 12:39:08 +02:00
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