Age | Commit message (Collapse) | Author |
|
- Add a command_spawn_editor() to asynchronously spawn editor
- Adjust input_editor_formfiller() to use command_spawn_editor()
- Add support to view the source of the current page via the editor (`gf'
command).
|
|
|
|
|
|
Refactores parts of command_search() (closes #372)
Fixes search using "/ register (type "/<enter>")
|
|
|
|
|
|
|
|
Allow to yank, and paste from different registers.
|
|
|
|
|
|
|
|
|
|
Until today vimb mapped two-part keybindings to commands. This patch changed
this paradigm into a more vi like way. The commands are separated into normal
mode commands that mainly consists of a single char and ex commands that can
by typed into the inputbox like ':open'. This change allows us to adapt also
the way keypresses and mapping are handled. Now every keypress is converted
into a unsigned char and collected into a typeahead queue. The mappings are
applied on the queue. So now we can use also long keymaps and run multiple
commands for different modes with them like ':nmap abcdef :set
scripts!<CR>:open search query<CR>50G'.
|
|
The new command and keybinding are use to focus the first editable element on
the page and to switch vimb into insert mode.
|
|
The pass-through mode allows to skip all keybindings accept of <esc> and
<ctrl-c> in vimb to let the webview handle them.
|
|
New command allows to push new uri to the beginning of read it later list.
|
|
|
|
|
|
|
|
The completion asked the required components to spit out the list of
completion items to make a GtkListStore model and fill it with the data and to
free the list. Now we let the component like history, bookmark or setting fill
in the completion items self, which avoids unneeded list preparation and
memory allocation.
|
|
Commands 'search-selection-forward' and 'search-selection-backward' where
added to search for the text that was selected. The commands are bound to the
keys '*' and '#' like in vim editor.
|
|
It wasn't a good approach to use string for the command and it's params to
call if a keybinding is used. Now we translate the command string and
parameters to the right command function and a prepared Arg parameter. This
will save system resources during runtime.
|
|
This is the first test for this way of working with vimb. There might be
security issues related to this and we should check if the uri is always
proper escaped.
|
|
There is now a new hinting mode and command :hint-save to download the hinted
links into the configured download directory. This hinting is bound to the
keybinding ';s'.
Also the enums out of the command.c file where moved into the command.h file,
because they would be possible needed from other components that call commands
directly and not from their string representation.
|
|
|
|
This command allows to open the parent directory of the current shown.
|
|
Now we distinct between history completion and bookmark completion.
1. Bookmark completion is triggered by ':open !<tab>' to complete all
bookmarks or by ':open !tag1 tag2' to complete only those bookmarks that
have tags with the prefixes tag1 and tag2.
2. History completion is changed to split the search query at the space char
and to search for all given words in the history. Only those history items
are completed, that match all given words or tags.
3. Search completion works now also tag based like the url and bookmark
completions.
|
|
These definitions where used only local, so there is no need to make them
public via header file.
|
|
Hint focussing and completion stepping are both done in command mode. So we
can't assign the same keybindings for both commands to the same keybinding.
Using only one command allows us to check the browsers submode to do the right
action.
|
|
The feature isn't only useful for searchengines but also in general for
structured urls. An if the placeholder will be optional, we can use this to
store also url quickmarks.
|
|
|
|
|
|
|
|
|
|
For example following will work
:run set input-bg-normal=#000 | set input-fg-normal=#fff | 5pagedown.
|
|
|
|
Added command searchengine-default to set the handle of the default search
engine.
|
|
|
|
|
|
There is already a software calles vimp so I think it will be better to rename
this little project.
|
|
|
|
|
|
|
|
|
|
|
|
This is not required, but seems to be the common practice.
|
|
Added a command to add and remove search-engines and extended the open command
to query the search-engine if the shortcut was found as first part of the open
or tabopen command.
|
|
There are two new keybindings to open the clipboards content in current window
(p) and into a new window (P).
|
|
This make the commands more flexible, because we don't need to set the mode
after a command is called from somewhere else than the input box.
|
|
Extended the keybindings to also save parameters to the commands. This allows
to map commands like 'input :foo' to a keybinding, which make the use more
flexible.
|