Commit Graph

783 Commits

Author SHA1 Message Date
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
Jelle van der Waa dedf7b38bd Resolve GCC 6.1 warning
GCC 6.1 warns about the comparison between an
long and double, cast the long to a double.
2016-05-04 21:37:42 +02:00
jelle van der Waa 530c3547cd Merge pull request #351 from Earnestly/missing-include
Include missing cmath header
2016-05-04 20:40:58 +02:00
Earnestly 19e4a577fd Include missing cmath header
Resolves https://github.com/thestinger/termite/issues/350

Signed-off-by: Earnestly <zibeon@gmail.com>
2016-05-04 16:25:54 +01:00
Daniel Micay c252d4b55c Merge pull request #348 from jelly/foreground_color_cursor
Add support to set the foreground cursor color
2016-04-28 19:57:16 -04:00
Jakob Schöttl a37c385b35 Add Home and End for 0 and $ respectively 2016-04-28 22:53:09 +02:00
Jelle van der Waa 746ade831a Add support to set the foreground cursor color
VTE 0.44.1 supports setting the foregorund color of
the cursor using vte_terminal_set_color_cursor_foreground

Closes: #284
2016-04-28 20:37:13 +02:00
Jelle van der Waa c6d1425189 Merge branch 'neosilky-memleak' 2016-04-27 21:38:41 +02:00
Daniel Lockyer f7c0aa54ed main: add some free calls to free GOptionContext
Free the GOptionContext when we are done parsing it
in termite.cc@main.
2016-04-27 21:37:22 +02:00
Daniel Pfeifer be3eec81c0 compile url_regex with G_REGEX_MULTILINE
vte_terminal_match_add_gregex wants that to be set.
see: https://github.com/thestinger/vte-ng/blob/0.44.1-ng/src/vtegtk.cc#L1718
2016-04-26 12:01:36 +02:00
Daniel Micay ff93b3e28d Merge pull request #329 from ixjlyons/shell-env-prefer
Prefer $SHELL over login shell.
2016-04-09 03:42:41 -04:00
Kenneth Lyons b219f171c9 Prefer $SHELL over login shell. 2016-04-08 23:12:14 -07:00
Kenneth Lyons d91ce8d614 Add command line switch to set icon. 2016-04-08 23:04:42 -07:00
Daniel Micay 2a87f8dd63 Merge pull request #323 from jelly/resolve-deprecation-vte-0.44.0
Replace deprecated vte_terminal_match_check
2016-03-22 16:03:44 -04:00
Jelle van der Waa 00035a6db4 Replace deprecated vte_terminal_match_check
vte_terminal_match_check has been replaced by
vte_terminal_match_check_event which takes the GdkEvent
and does not need to be passed a row and col.
2016-03-22 20:43:28 +01:00
Daniel Micay 119bf665a0 Merge pull request #322 from jelly/resolve-missing-initializer
Resolve missing field 'font_scale' initializer
2016-03-22 15:29:48 -04:00
Jelle van der Waa c747c9317e Resolve missing field 'font_scale' initializer
The font_scale member of the struct config_info was not
initialized.
2016-03-21 21:34:30 +01:00
Daniel Micay 4d8974829f Merge pull request #302 from kapsh/makefile
Removed unnecessary mkdir
2016-02-11 15:59:32 -05:00