Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wezterm-gui: support half page up/down navigation #2662

Merged
merged 3 commits into from
Nov 22, 2022

Conversation

pengux
Copy link
Contributor

@pengux pengux commented Oct 23, 2022

Add support for vim-like navigation with CTRL-d for half page down and CTRL-u for half page up in copy mode.

@wez
Copy link
Owner

wez commented Nov 19, 2022

Thanks for this! Sorry for the delay in reviewing.

Could you make this work more like https://wezfurlong.org/wezterm/config/lua/keyassignment/ScrollByPage.html

eg: MoveByPage(0.5)

@pengux pengux force-pushed the feat/copy-mode-half-page-navigation branch from ea6df4d to 4040fb9 Compare November 20, 2022 18:05
@pengux
Copy link
Contributor Author

pengux commented Nov 20, 2022

No worries! I've refactored it to a move_by_page function now.

@wez wez merged commit b26da03 into wez:main Nov 22, 2022
wez added a commit that referenced this pull request Nov 22, 2022
@wez
Copy link
Owner

wez commented Nov 22, 2022

Thanks!

@pengux pengux deleted the feat/copy-mode-half-page-navigation branch November 22, 2022 17:48
yue4u added a commit to yue4u/zf that referenced this pull request Dec 22, 2022
72da5d161 docs: changelog for wez/wezterm#2819
82da1b42f launcher: prefer to use human description of key assignment
98479d853 Re-organize default command list
01962235f add descriptions for all keyassignment actions
669fec9a9 adjust default command list
37b5dd91a move OpenInBrowser -> KeyAssignment
4b3660d16 macos: allow running when there are no windows
f7eb13dd8 put quit at bottom of application menu
787f6550b macos: link to helpful resources from Help menu
b5aea795c fixup tests
b224aa1b5 macOS: add MenuBar
eb8dfd32b macos: use interactive shell for .command scripts
0da36a40f ci: refine error reporting in doc build
19b01261c mux: avoid deadlock in mux server
fe55ace7d deps: harfbuzz -> 6.0.0
e020a9f6c fix windows build
30238acb1 x11: potential fix for hanging IME
02eb0b429 mux: rename Mux::get() -> try_get(), add "infallible" Mux::get()
478cc59be mux: Mux is now Send+Sync
ee2aac090 mux: require that Domain be Send + Sync
920ee853b mux: switch RefCell to RwLock internally
696148941 Rc<Tab> -> Arc<Tab>
b58d02654 mux: make Tab Send+Sync
9e67ad786 mux: reduce context switching when parsing output
aa3d722e1 mux: add notify_from_any_thread helper
6e06b9af0 mux: Pane is now required to be Send+Sync. Use Arc<dyn Pane>
758a09f55 ci: add debug output when building docs
fe60155d3 withdraw DEC private SGR handling for super/subscript
0fa8e9bc8 cargo update
28c7c0ba1 macos: allow association with .command file type
e70f97903 disable window title reporting escape sequence by default
f22eec797 docs: add aarch64 macos example to target_triple
91ea1095c deps: update base64
8a527fe7b cargo update
9fb7f8fe4 add .mailmap
896256e42 docs: changelog: chase username change
92e851d64 docs: expand font_rules
af9d0efa1 cargo update
fcace3d5e Remove `Source` entry in Debian control file (#2828)
8d8d7d3ff Fix shell-resolution documentation in launch
c6e29b78b build(deps): bump rstest from 0.15.0 to 0.16.0
9923ae20b env_logger -> 0.10
9d109337e cargo update
68c754b1f fonts: improve error message slightly
4b8515e69 cleanup: a few references to the Last Resort font
8a478e29a docs: wez/wezterm#2662
b26da0308 wezterm-gui: implement move_by_page function
81d6c88af docs: add documentation for new default key bindings
9fa44574a wezterm-gui: support half page up/down navigation
877d364bf docs: mention new background option from window_background_image
51e45a475 cargo update
0bf36e5ad refactor: replace the deprecated usage of `chrono::TimeZone::ymd`
173862634 docs: released 20221119-145034-49b9839f
49b9839fd fix IME composition status applying to all panes
2dd3968b9 allow disabling tabs, new tab button in tab bar
aa72cd24d Update macos docs with wezterm CLI installation (#2619)
dbeeaef2f docs: changelog for wez/wezterm#2661
74e55d09e Fix relative CWD path given on command line being interpreted as within the server's CWD
d3d1db866 fixes flow chart and typo in config file docs
d31aeadd5 docs: changelog for wez/wezterm#2636
ec2715a35 Fix background cover algorithm
fde535faf Fix dragging by left or right status with retro tab bar
d96b05c06 docs: fix MoveTabRelative default key assignments
94f2225c8 docs: update first example to use wezterm.action style
2c6748daa gui: improve error message for unsupported height/width values for Color and Gradient
e0aa66489 webgpu: improve messaging when no adapters are found
7afe0c5f4 webgpu: minor optimization of shader
a4ec2560a use constants for has_color values in wgsl shader and in the rust code
dad5fbd1f webgpu: support hsv transforms
1f7a34f8b fix resizing on windows when wgpu is enabled
783b39aae add some config options to influence webgpu selection
883e2d11d make drawRect work on macos when using webgpu
76576daa6 This makes webgpu actually render
acbec709b fixup crash when running in webgpu mode
ac15dd54c plumb webgpu code into draw path
9c1a88d79 Abstract more over the render state, add RenderContext
19385d335 put WebGpuState into an Rc
334fb8a2e Add IndexBuffer abstraction
d712559b7 Add VertexBuffer abstraction
7a77854bf Add MappedVertexBuffer abstraction
c1f9fe3a8 make TripleLayerQuadAlloctor::Gpu(BorrowedLayers) self-referential
043606772 use a self-referential struct for mapping vertexbuffers
09f1ecbf8 erase generic T from Atlas, Sprite, CachedGlyph etc.
8e7eb82a2 notionally allow webgpu texture atlas creation
00943345b make Vertex conform to Pod
8479be746 Basic useless wgpu based rendering foundation
eaa91e931 deps: update raw-window-handle
35e3e30d7 docs: add_wsl_distributions_to_launch_menu was removed
35fd69b0d partially handling overflowing tab titles
62e2e996d changelog for wez/wezterm#2746
c55cecaee Allow windows installer to run on arm64 emulating x64
387d0ad3e rustdoc markdown fences--
9569028d9 xcursor: parse and follow theme inheritance
30daed40b reduce size of BoxedQuad by 2/3
a852e47db quads: switch to allocating quads rather than contiguous vertices
84e2501df remove dead code
173e27d2e Add support for heap profiling using dhat
831eda86b perf: adjust clustering when bidi is disabled
0516b61f6 lfucache: improve LFU algorithm and structure
72757b884 refactor: move lfucache into its own crate

git-subtree-dir: crates/wezterm
git-subtree-split: 72da5d161e8f132d27979d7032e3a5228786baab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants