On 12/02/09 21:17, J.A.J. Pater wrote:
> Raúl Núñez de Arenas Coronado schreef:
>> Keybindings are not what I miss in gedit ;) It's the entire power of Vim
>> what I miss.
> I feel the same way, but it is nice anyway - make everything vim-like.
> Like vimperator in Firefox
> (https://addons.mozilla.org/en-US/firefox/addon/4891), Vim with thunderbird,
> Vim like editing in terminal etc.
> If only it was possible to set everything default to vim like
> keybindings in Gnome...
>> Anyway, I don't think that plugins is a good way of adding power to an 
>> editor. If only gedit
>> was programmable in the same way of Vim...
>>
>>
> Doesn't vim do plugins also?
> As far as I understand it you can use python together with vim and with
> gedit.
> But again it's not the same: Vim has it's own "language" which (to be
> honest) I don't find really attractive
>
> Adriaan

I don't know about gedit, but for many programs, the "plugins" are 
actually binary files (for instance the Mozilla "plugins" as opposed to 
the .xpi "extensions" and the .jar "themes", both of which are normally 
sets of text files bundled into a .zip archive with its extension changed).

Vim's "global plugins", "filetype plugins" etc., OTOH, are just 
particular cases of Vim "scripts", which are programs in an 
easy-to-understand structured-programming interpreted language, whose 
statements are just normal ex-commands; you could, if you wish, divide 
them among "imperative statements" :let :set :echo :substitute :edit 
:write etc., "flow control" statements :if :elseif :else :endif :while 
:endwhile :break :try :catch :finally :endtry :call :return :source 
:runtime :finish etc. and "declarative statements" :command :function 
:map :loadkeymap etc.

For me, who have always found programming languages easy to learn 
(starting with FORTRAN as a college freshman, BASIC in the demos of the 
General-Electric time-sharing system, worked several years in COBOL, 
also dabbled some in Honeywell-Bull series-200 Assembler/Easycoder, 
PDP11 assembly language, MS-DOS batch language, Intel-8086 assembly 
language, with some glances at ALGOL, PASCAL, C, bash scripting language 
and even IBM-1401 assembly language about which I noticed a book at the 
University Press while still in college), Vim scripting language is 
remarkably easy, straightforward -- more so, it seems to me, than e.g. 
bash scripting language -- while also quite powerful (which e.g. MS-DOS 
batch language isn't).


Best regards,
Tony.
-- 
                Safety Tips for the Post-Nuclear Existence
                  Tip #1: How to tell when you are dead.

(1) Little things start bothering you: little things like worms, bugs,
     ants.
(2) Something is missing in your personal relationships.
(3) Your dog becomes overly affectionate.
(4) You have a hard time getting a waiter.
(5) Exotic birds flock around you.
(6) People ignore you at parties.
(7) You have a hard time getting up in the morning.
(8) You no longer get off on cocaine.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to