Commit graph

800 commits

Author SHA1 Message Date
8232faf5b9 Remove second shiftwidth statement in vimrc 2018-09-25 14:35:34 +02:00
45f301f8d3 Fixed global <F5> 2018-09-22 12:33:27 +02:00
49936dde31 Added global <F5> 2018-09-22 12:31:57 +02:00
a74637fa79 Fix lua path to 5.3 2018-09-09 16:41:20 +02:00
e0c2d933a3 Fix mappings for vim files being global
<leader>c and <leader>if are now buffer-specific :)
2018-08-23 11:01:45 +02:00
217cd1fb31 Add List command
Searches for a pattern and adds all occurrences to the location list
2018-08-23 10:58:18 +02:00
735ce08422 Add line2 command which prints a double line 2018-08-16 08:20:46 +02:00
2019502368 Add line function that prints a line of given length 2018-08-16 08:17:48 +02:00
b3ec39a013 Turn draw into constant DRAW and fix formatting 2018-08-15 11:00:23 +02:00
5eda85952e Fix Comment "Actual Functions" after tree function 2018-08-15 10:56:22 +02:00
70e2149f81 Merge remote-tracking branch 'origin/master' 2018-08-15 10:32:04 +02:00
52f65cb5ee Make CLASS constant prettier
...by removing the unnecessary { and } around the title to make it
easier to read in source form.
2018-08-15 10:29:47 +02:00
9a8141d73b Add tab function to vim.moon and refactor
vim.column is now called vim.col and has been turned into a wrapper for
the tab function. The vim.row wrapper has been added and does what you'd
expect. vim.box is also a wrapper for vim.tab now.
Some other refactoring has been done.
2018-08-15 10:22:11 +02:00
9ba10aff75 Fix multiline strings for box command 2018-08-15 09:37:08 +02:00
0538cb57e8 Fix line-numbering using wrong length for numbers 2018-08-15 09:33:46 +02:00
883685a0ab Merge branch 'master' of github.com:DarkWiiPlayer/darkrc 2018-08-02 18:44:46 +02:00
0c262e8aa1 Add LuaCompile command that lists lua bytecode 2018-08-02 16:11:54 +02:00
60cd1be59c Change git banner to a greek temple
Because git deserves no less than a greek temple.
2018-08-02 14:08:27 +02:00
18c8d88351 Add gitroot function and some error checking 2018-08-02 13:51:17 +02:00
b818fbf132 Add Number command that adds line numbers 2018-08-02 13:49:05 +02:00
d3ccd7e0e6 Set 'shiftwidth' and 'softtabstop' to 0 2018-08-01 14:53:37 +02:00
5e150d5b81 Add GitRoot command 2018-08-01 14:52:48 +02:00
5dd8daf460 Add automoon feature
Automatically compile moonscript into lua when a .moon file is saved and
a global and/or buffer-local variable is defined.
2018-07-25 10:11:54 +02:00
7a3be20539 Fix word under cursor updating on toggle 2018-07-18 10:47:09 +02:00
9d50868efa Fix nested trees deeper than 2 not being indented 2018-07-17 10:44:25 +02:00
81f3c385dc Merge branch 'master' of github.com:DarkWiiPlayer/darkrc 2018-07-13 21:05:43 +02:00
f39b3fe5c0 Change lua search path 2018-07-13 21:05:04 +02:00
b817b4be7b Add Blame command
This command allows to quickly git-blame the current file.
2018-07-13 11:25:22 +02:00
0b38f7295c Change how trees look and add the CLASS constant 2018-07-13 10:19:13 +02:00
d37e97bdc3 Add line caps to draw function 2018-07-11 15:59:04 +02:00
c7bd7c2c3c Add Tempfile command and change modeline 2018-05-23 09:38:47 +02:00
5f7a6f7ae8 Add text snippets commands 2018-05-11 08:19:32 +02:00
6447dc5fa1 Add Count command that counts lines 2018-04-25 10:53:27 +02:00
776be82020 (hopefully) Fix lua search path 2018-04-25 09:41:36 +02:00
b65951d14b Add <leader>[m|M] for listing active marks 2018-04-25 09:39:55 +02:00
9b80505c05 Make Ctrl+D work with visual selection 2018-04-13 09:20:43 +02:00
3fbf78a105 Fixed caching error in git_history 2018-04-12 14:18:29 +02:00
9aed3c09c9 Fix checking out files in subdirectories 2018-04-12 14:02:10 +02:00
f86a4aeb9b Reset j and k bindings to jump entire lines 2018-04-12 13:11:33 +02:00
549a0be0b4 Remove --follow from git commands 2018-04-12 10:27:49 +02:00
f57de95ef2 Fix GitCompare on file to use HEAD
Forgot vimscript starts indexing at 0 tehe~
2018-04-12 10:17:54 +02:00
25413fc9a2 Fix git_diff to use last commit hash 2018-04-12 10:14:24 +02:00
7aa2ac0433 Improve output of GitCompare 2018-04-12 10:14:21 +02:00
9108000b77 Make GitCompare the one ring to compare them all 2018-04-12 10:13:48 +02:00
6d8b1a41d2 Change git_diff() to cache results for 10 seconds 2018-04-12 09:38:32 +02:00
6d1d2a3709 Redo Uncommitted command to use file_at_revision() 2018-04-12 08:59:04 +02:00
d547733432 Change file_at_revision to set bufhidden=delete 2018-04-12 08:44:52 +02:00
2735e3ab59 Make file_at_revision() preserve cursor position
note that this may still change the cursor position due to deletions
and insertions further up in the file, but now the cursor should at
least end up somewhere near its original position for smaller commits.
2018-04-12 08:40:52 +02:00
04eb8d6828 Add git history commands
- GitFirst check out first revision of the file into new buffer
- GitLast same but last revision
- GitNext jump to the next revision of a file
- GitPrevious same but previous
  Only commits that modified the file are considered
- GitInfo shows commit information about the current revision
2018-04-12 08:40:48 +02:00
02f2747c9e Add leader+n, leader+p to move in arglist
leader+n moves to the [N]ext buffer in the arg list
leader+p moves to the [P]revious buffer in the arg list
as simple as that ;)
2018-04-12 08:40:46 +02:00