-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAlternate-workspace.stats
More file actions
45 lines (35 loc) · 1.57 KB
/
Alternate-workspace.stats
File metadata and controls
45 lines (35 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
commit SHA1SHA1SHA1 (HEAD, tag: refs/tags/2.0)
Author: Mykola Golubyev <golubev.nikolay@gmail.com>
AuthorDate: Tue Dec 19 00:00:00 2006 +0000
Commit: Able Scraper <scraper@vim-scripts.org>
Version 2.0
AWEditMirrorFile command not only open alternate file but moves to position where is same line (current line) is present.
You can easily change workspaces by new commands:
:AWAutoSetChild
:AWAutoSetParent
Example:
if you have current file name "/home/me/project/src/...../.cpp"
you can set variable g:aw_stop_word = "src" and after execution of command :AWAutoSetChild
child path will be "/home/me/project"
Removed mappings for EditMirrorFile and DiffMirrorFile (
Add
nnoremap key1 :AWEditMirrorFile<CR>
nnoremap key2 :AWDiffMirrorFile<CR>
...
plugin/alternate_workspace.vim | 123
1 files changed, 108 insertions(+), 15 deletions(-)
commit SHA1SHA1SHA1 (tag: refs/tags/1.1)
Author: Mykola Golubyev <golubev.nikolay@gmail.com>
AuthorDate: Tue Sep 26 00:00:00 2006 +0000
Commit: Able Scraper <scraper@vim-scripts.org>
Version 1.1: Added AWSetChild and AWSetParent commands.
plugin/alternate_workspace.vim | 181
1 files changed, 105 insertions(+), 76 deletions(-)
commit SHA1SHA1SHA1 (tag: refs/tags/1)
Author: Mykola Golubyev <golubev.nikolay@gmail.com>
AuthorDate: Mon Sep 25 00:00:00 2006 +0000
Commit: Able Scraper <scraper@vim-scripts.org>
Version 1: Initial upload
README | 43
plugin/alternate_workspace.vim | 76
2 files changed, 119 insertions(+), 0 deletions(-)