Commit Graph

800 Commits

Author SHA1 Message Date
eroen 8c2adbc2c9 Fix order of arguments in tic command
hanetzer in #gentoo-chat on freenode reported errors like this when building
termite-12:

    tic -x termite.terminfo -o /tmp/portage/x11-terms/termite-9999/image//usr/share/terminfo
    tic: Too many file names.  Usage:
        tic [-e names] [-o dir] [-R name] [-v[n]] [-V] [-w[n]] [-1aCDcfGgIKLNrsTtUx] source-file

Moving the input filename to the end of the tic invocation seems to resolve
this for them, but I am unable to reproduce the issue.
2017-07-27 00:49:54 +02:00
jelle van der Waa d87e7c8269 Merge pull request #470 from kohlerm/master
improving shell detection
2017-07-08 21:37:29 +02:00
jelle van der Waa d7d90e47c9 Merge pull request #492 from jelly/config_parsing_failure
Handle invalid configuration file format
2017-07-08 21:00:13 +02:00
Jelle van der Waa 5dc2d638a0 Handle invalid configuration file format
Print an error when an invalid key/value config is given to termite.

Closes: #486
2017-07-08 20:59:43 +02:00
Jelle van der Waa 18b653954d man: Add keybinding to move forward to end of word
Describe the new keybindings e and E to move forward to end of word.
2017-07-08 20:57:46 +02:00
jelle van der Waa 5690a82ad0 Merge pull request #498 from janza/end-of-word-keybinding
Add keybinding to move forward to end of word
2017-07-08 20:54:26 +02:00
Josip Janzic c18668fe8e
Add keybinding to move forward to end of word
Closes #495
2017-07-05 22:38:18 +02:00
jelle van der Waa 37309fdd0d Merge pull request #445 from jelly/config_scrollback
config: man: document scrollback_lines config option
2017-06-19 21:24:09 +02:00
jelle van der Waa 4c1a9a56a2 Merge pull request #401 from jelly/gregex_deprecated
Replace deprecated gregex api
2017-06-19 21:00:34 +02:00
Jelle van der Waa c1890ae7e2 Replace deprecated gregex api
vte_terminal_match_add_gregex, vte_terminal_search_get_gregex and
vte_terminal_search_set_gregex are all deprecated and replaced with the
VTeRegex API which uses PCRE2.

Closes: #395
2017-06-19 20:55:59 +02:00
TiredSounds 909b8034b3 Fix typo 2017-05-03 12:45:37 -04:00
Markus Kohler 340a1613bb reformatted 2017-03-31 18:03:31 +02:00
kohlerm af11439bd5 improving shell detection 2017-03-31 13:47:07 +00:00
jelle van der Waa 5610a384b8 Merge pull request #468 from jelly/terminfo_readme
README: Add terminfo information
2017-03-27 20:42:43 +02:00
Jelle van der Waa 4dbcc9e54c README: Add terminfo information
Add a section about copying terminfo to remote systems to hopefully stop
the pile of non-issues opened because of a missing terminfo file.
2017-03-26 22:14:02 +02:00
Jelle van der Waa 1c895b45e9 config: man: document scrollback_lines config option
Document the three possible configuration options for scrollback_lines.
2017-01-18 22:24:28 +01:00
jelle van der Waa 7738c766f5 Merge pull request #426 from polyzen/config-cleanup
config, capitalise letters, sort options alphabetically, comment out default options and add missing fullscreen option
2016-12-12 21:31:31 +01:00
Daniel M. Capella eac212f84f
config: Sort contents of [options] alphabetically 2016-12-06 14:22:28 -05:00
Daniel M. Capella 8f2aaa0844
config: Comment out default options 2016-12-06 14:22:28 -05:00
Daniel M. Capella 0e6dcdcc46
config: Capitalize letters for consistency 2016-12-06 14:22:28 -05:00
Daniel M. Capella e313d2925f
config: Add fullscreen option 2016-12-06 14:22:27 -05:00
jelle van der Waa e3a6814902 Merge pull request #427 from schoettl/vim
b and B set wrong cursor position in word.

Instead of setting the cursor position to the first character
the position is was set to first character +1.
2016-12-06 18:18:36 +01:00
Jakob Schöttl 1b0d371794 Bugfix: b and B set cursor to begin of word + 1 2016-12-04 22:23:05 +01:00
jelle van der Waa 7ff1bd5ec0 Merge pull request #429 from jelly/fix_is_word_char
Skip ;,: as vte does not consider these a word.
2016-12-04 20:47:57 +01:00
Jelle van der Waa f2a1aa91cc Skip ;,: as vte does not consider these a word. 2016-12-04 20:38:33 +01:00
jelle van der Waa 7930760a6a Merge pull request #413 from kyrias/fix-us
Revert "non us fix" and fix it properly
2016-10-20 21:06:35 +02:00
Johannes Löthberg c08cd317ee Revert "non us fix" and fix it properly
This reverts commit 305f5cb938.

The old fix breaks it on US keyboards.  Instead, copy the case down to
be in both ifs.
2016-10-20 21:01:18 +02:00
jelle van der Waa a54bdcc7b1 Merge pull request #403 from jelly/cursor-color
Document default color and cursor_foreground behavior
2016-10-11 16:34:02 +02:00
Jelle van der Waa 574744ea1e Document default color and cursor_foreground behavior
Document the cursor color and cursor_foreground behaviour with the
default termite configuration.
2016-10-11 15:40:14 +02:00
jelle van der Waa a9cecb4b9d Merge pull request #400 from jelly/assert_valid_color
load_theme: set alpha to 0 of GdkRGBA
2016-10-02 19:12:24 +02:00
jelle van der Waa ea0bc59e38 Merge pull request #385 from mikkeloscar/bugfix/non-us-keyboard-layout
Make key commands work on non-US keyboard layouts
2016-10-02 19:12:10 +02:00
Jelle van der Waa 80ab246023 load_theme: set alpha to 0 of GdkRGBA
vte3 0.46 introduced an assertion valid_color which checks if the alpha
channel is set. The alpha channel is actually not used in
vte_terminal_set_colors.
2016-10-01 01:10:50 +02:00
Mikkel Oscar Lyderik 305f5cb938 Make key commands work on non-US keyboard layouts
`Ctrl-=` and `Ctrl-+` commands did not work on non-US like keyboard
layouts because `=` and `+` are produced differently in other layouts
e.g. `Shift` is required/not required respectively. The opposite of US
like layouts.

This patch fixes the issue by not checking if `Shift` is pressed/not
pressed when it's irrelevant to the command. Instead it uses the
`keyval` from GDK directly which has been transformed depending on
keyboard layout and pressed modifiers.

Fix #371
2016-08-14 23:43:10 +02:00
jelle van der Waa 7a7021f0dd Merge pull request #387 from dkasak/master
Fix exception thrown in .ycm_extra_conf.py
2016-08-11 22:11:40 +02:00
Denis Kasak 86062a0a09 Fix exception thrown in .ycm_extra_conf.py
The call to subprocess.check_output returns a bytes instead of a str
object if not called with universal_newlines=True which raises an
exception further on due to mixing of bytes and str.
2016-08-10 14:05:21 +02:00
Daniel Micay ee16ae0e5f Merge pull request #375 from ixjlyons/consume-f11-keypress
Consume F11 key press event.
2016-07-05 12:57:01 -04:00
Kenneth Lyons fa1c0d7266 Consume F11 key press event. 2016-06-16 17:38:22 -07:00
jelle van der Waa 3170adffa7 Merge pull request #345 from purpleKarrot/master
compile url_regex with G_REGEX_MULTILINE
2016-06-05 15:12:11 +02:00
jelle van der Waa 341011343d Merge pull request #361 from jelly/move_cursor_zoom_to_general_bindings
Move zoom in/out/reset bindings to general
2016-06-05 14:21:16 +02:00
jelle van der Waa d0ce9bc221 Merge pull request #363 from meribold/master
Update CSS snippet for changing the padding
2016-06-01 10:54:58 +02:00
Lukas Waymann a375c90fac Fix typo 2016-05-25 16:03:31 +02:00
Lukas Waymann b58bf501a7 Update snippet for changing padding in README.rst
The CSS selector was changed to vte-terminal.
2016-05-25 15:59:42 +02:00
Jelle van der Waa 1f1b1e2151 Move zoom in/out/reset bindings to general
Changing the cursor when in command mode, messes
up vte's state which causes aborts, misplaced cursor
and other bugs.

Closes: #194
2016-05-22 22:42:09 +02:00
jelle van der Waa 9a3115603a Merge pull request #357 from jelly/disable_cursor_blinking_when_moving
Disable blinking when moving cursor in selection mode
2016-05-15 17:20:18 +02:00
Jelle van der Waa 446a67a2d3 Disable blinking when moving cursor in selection mode
When moving the cursor in selection mode disabling blinking
mode. This behaviour is smiliar to moving the cursor in vim.

Closes: #275
2016-05-10 21:58:16 +02:00
jelle van der Waa e7a8cdba54 Merge pull request #328 from ixjlyons/icon-switch
Add command line switch to set icon.
2016-05-06 21:20:55 +02:00
jelle van der Waa 672d7ebdb9 Merge pull request #343 from schoettl/visual_home_end
Add Home and End for 0 and $ respectively
2016-05-06 20:56:12 +02:00
jelle van der Waa 4d76eb6854 Merge pull request #355 from neosilky/memleak
termite.cc: pull out a method call into a variable so we can free it
2016-05-06 20:54:31 +02:00
Daniel Lockyer f196f62ec9 termite.cc: pull out a method call into a variable so we can free it 2016-05-05 19:44:28 +01:00
Daniel Micay caa784a26c Merge pull request #352 from jelly/resolve_gcc_warning
Resolve GCC 6.1 warning
2016-05-04 22:00:36 -04:00