Commit graph

743 commits

Author SHA1 Message Date
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
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
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
5934af1833 Minor changes + session options 2017-10-24 11:39:53 +02:00
fa2ec57364 Fixed a few things with normal mode newline 2017-10-24 09:40:54 +02:00
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
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
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
cf9ffa6148 Improved word-under-cursor matching to *only* match whole words 2017-10-20 09:54:52 +02:00
812e00aa3b Mostly improved the normal-enter functionality 2017-10-20 09:45:49 +02:00
af04763824 Added insert before WORD and append after WORD mapping 2017-10-19 08:41:26 +02:00
eb9f1a06c9 Some minor changes :) 2017-10-18 19:15:31 +02:00
d6647b86e0 moved some color-related stuff to gvimrc file 2017-10-18 18:58:06 +02:00
01b1a199a3 Greatly changed .vimrc file 2017-10-18 18:50:13 +02:00
b926f92e76 added duplicate current line mapping on <C-d> 2017-10-05 19:07:22 +02:00
a789c0f15e fixed some my own stupid mistake while merging :/ 2017-10-05 19:06:37 +02:00
5e367a8732 Merge branch 'master' of github.com:DarkWiiPlayer/darkrc
Conflicts:
	vimrc
2017-10-05 19:02:20 +02:00
f875ca63b4 Some minor fixes in the vimrc file 2017-10-05 19:00:48 +02:00
621eebbe99 Added leader character and one shortcut 2017-09-06 08:50:34 +02:00
0c715d79f0 Made some improvements to .vimrc 2017-09-01 13:19:15 +02:00
39a0932b95 Added line numbers + <F3> to toggle them locally 2017-08-19 11:35:28 +02:00
16e111489e This doesn't work well on the server, thus I am removing it 2017-08-19 09:06:55 +02:00
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
380ce2d794 forgot to add the retab stuff I had forgotten :P 2017-08-19 08:51:33 +02:00
5aaa281614 Added .vimrc and .bashrc configs to the repo 2017-08-19 08:48:08 +02:00