-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #735 from techee/vim
vimode: A Vim Mode for Geany
- Loading branch information
Showing
47 changed files
with
7,752 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -299,6 +299,13 @@ M: Frank Lanitz <[email protected]> | |
W: http://plugins.geany.org/updatechecker.html | ||
S: Maintained | ||
|
||
vimode | ||
P: Jiří Techet <[email protected]> | ||
g: @techee | ||
M: Jiří Techet <[email protected]> | ||
W: http://plugins.geany.org/vimode.html | ||
S: Maintained | ||
|
||
webhelper | ||
P: Colomban Wendling <[email protected]> | ||
g: @b4n | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
AC_DEFUN([GP_CHECK_VIMODE], | ||
[ | ||
GP_ARG_DISABLE([Vimode], [auto]) | ||
GP_COMMIT_PLUGIN_STATUS([Vimode]) | ||
AC_CONFIG_FILES([ | ||
vimode/Makefile | ||
vimode/src/Makefile | ||
]) | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Jiří Techet <[email protected]> |
Large diffs are not rendered by default.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
include $(top_srcdir)/build/vars.auxfiles.mk | ||
|
||
SUBDIRS = src | ||
plugin = vimode |
Empty file.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Various parts of the plugin code were taken from other Geany plugins, from Geany | ||
code or Scintilla. Thanks to all the authors of the corresponding code. | ||
|
||
Thanks to Frank Lanitz for the name of the plugin. | ||
|
||
Thanks to Bill Joy and Bram Moolenaar for creating vi and vim, respectively, so | ||
every bloody editor on the planet has to create a compatibility mode with this | ||
crazy editor to make users happy. |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
include $(top_srcdir)/build/vars.build.mk | ||
plugin = vimode | ||
|
||
geanyplugins_LTLIBRARIES = vimode.la | ||
|
||
noinst_PROGRAMS = viw | ||
|
||
vi_srcs = \ | ||
vi.h \ | ||
vi.c \ | ||
keypress.h \ | ||
keypress.c \ | ||
utils.h \ | ||
utils.c \ | ||
sci.h \ | ||
sci.c \ | ||
context.h \ | ||
cmd-params.h \ | ||
cmd-params.c \ | ||
cmd-runner.h \ | ||
cmd-runner.c \ | ||
excmd-params.h \ | ||
excmd-runner.h \ | ||
excmd-runner.c \ | ||
excmd-prompt.h \ | ||
excmd-prompt.c \ | ||
cmds/motion.h \ | ||
cmds/motion.c \ | ||
cmds/txtobjs.h \ | ||
cmds/txtobjs.c \ | ||
cmds/changemode.h \ | ||
cmds/changemode.c \ | ||
cmds/special.h \ | ||
cmds/special.c \ | ||
cmds/edit.h \ | ||
cmds/edit.c \ | ||
excmds/excmds.h \ | ||
excmds/excmds.c | ||
|
||
vimode_la_SOURCES = \ | ||
backends/backend-geany.c \ | ||
$(vi_srcs) | ||
|
||
viw_SOURCES = \ | ||
backends/backend-viw.c \ | ||
$(vi_srcs) | ||
|
||
vimode_la_CPPFLAGS = $(AM_CPPFLAGS) \ | ||
-DG_LOG_DOMAIN=\"Vimode\" | ||
vimode_la_CFLAGS = $(AM_CFLAGS) | ||
vimode_la_LIBADD = $(COMMONLIBS) | ||
|
||
viw_CPPFLAGS = $(AM_CPPFLAGS) \ | ||
-DG_LOG_DOMAIN=\"Vimode\" | ||
viw_CFLAGS = $(AM_CFLAGS) | ||
viw_LDADD = $(COMMONLIBS) | ||
|
||
include $(top_srcdir)/build/cppcheck.mk |
Oops, something went wrong.