summaryrefslogtreecommitdiff
path: root/src/bindings.cpp
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2015-05-23 22:55:04 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2015-05-23 22:57:40 +0200
commit1b6cb65f3a371e40794e92176f013b1a720432e1 (patch)
treed630adea25f6573473da147bf6d842b1baa684cc /src/bindings.cpp
parent274c075ffd0b74b2aecf29949603c5d3000fcf71 (diff)
actions: add support for range selection and make a few actions work on ranges
Diffstat (limited to 'src/bindings.cpp')
-rw-r--r--src/bindings.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bindings.cpp b/src/bindings.cpp
index a0e19099..71ee1d42 100644
--- a/src/bindings.cpp
+++ b/src/bindings.cpp
@@ -630,6 +630,8 @@ void BindingsConfiguration::generateDefaults()
bind(k, Actions::Type::JumpToPositionInSong);
if (notBound(k = stringToKey("l")))
bind(k, Actions::Type::ShowLyrics);
+ if (notBound(k = stringToKey("ctrl_v")))
+ bind(k, Actions::Type::SelectRange);
if (notBound(k = stringToKey("v")))
bind(k, Actions::Type::ReverseSelection);
if (notBound(k = stringToKey("V")))