aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/normal.c
Commit message (Collapse)AuthorAge
...
* vim-patch:8.2.2005: redoing a mapping with <Cmd> doesn't work properlyBjörn Linse2020-11-18
| | | | | | | Problem: Redoing a mapping with <Cmd> doesn't work properly. Solution: Fill the redo buffer. Use "<SNR>" instead of a key code. (closes vim/vim#7282) https://github.com/vim/vim/commit/c77534c303721df4024fd6cfd51098d593b7d4da
* fix: address issues for BufModifiedSetRom Grk2020-11-09
|
* fix: finish renaming to BufModifiedSetRom Grk2020-11-07
|
* feat: implement BufModified autocmdRom Grk2020-11-07
|
* my fight with the linterRom Grk2020-11-06
|
* Merge branch 'master' into add-scroll-eventsRom Grk2020-11-03
|\
| * Merge pull request #12870 from bfredl/themeparkBjörn Linse2020-11-01
| |\ | | | | | | Color themes (per window/line) and lua theme providers
| | * api: add API for themesBjörn Linse2020-11-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | co-author: hlpr98 <hlpr98@gmail.com> (dict2hlattrs function) orange is sus?? NOVEMBER DAWN erase the lie that is redraw_later()
| * | vim-patch:8.2.0929: v:register is not cleared after an operator was executedJan Edmund Lazo2020-10-29
| |/ | | | | | | | | | | | | Problem: v:register is not cleared after an operator was executed. Solution: Clear v:register after finishing an operator (Andy Massimino, closes vim/vim#5305) https://github.com/vim/vim/commit/cc613031b96f1cfa5a184253e745c26f1def9be4
| * vim-patch:8.1.1862: Coverity warns for not using return valueJan Edmund Lazo2020-10-25
| | | | | | | | | | | | Problem: Coverity warns for not using return value. Solution: Add "(void)" to avoid the warning. https://github.com/vim/vim/commit/9c272a9e52c914d6630f2cc887da89f63e7e983a
* | fix: remove xxx commentRom Grk2020-11-01
| |
* | feat: implement a working WinScrolled autocmdRom Grk2020-10-28
| |
* | move.c: dont invalidate viewport when no scroll happenedRom Grk2020-10-25
| |
* | scroll: use win->w_viewport_invalidRom Grk2020-10-24
| |
* | scroll: cleanup unnecessary code & commentsRom Grk2020-10-24
| |
* | implement scroll autocommandRom Grk2020-10-21
|/
* vim-patch:8.1.1319: computing function length name in many placesJan Edmund Lazo2020-09-30
| | | | | | | | | | | Problem: Computing function length name in many places. Solution: compute name length in call_func(). https://github.com/vim/vim/commit/6ed8819822994512c160006bd1204aa11ae3c494 In call_func(), reassign "len" param to (int)STRLEN(funcname) instead of using vim_strsave() which runs strlen(). "len" param is checked for v:lua functions. call_func() states that strlen() is used if "len" is set to -1.
* folds: pass column on fold creationMatthieu Coudron2020-09-28
| | | | | useful if we want to have inline folds later and/or let users create folds that remember their start/end columns.
* vim-patch:8.1.2018: using freed memory when out of memory and displaying messageJan Edmund Lazo2020-06-04
| | | | | | Problem: Using freed memory when out of memory and displaying message. Solution: Make a copy of the message first. https://github.com/vim/vim/commit/e5fbd7393067c279860598ac8359d1617b1082b9
* Merge pull request #12018 from janlazo/vim-8.0.1123Matthieu Coudron2020-04-27
|\ | | | | [RFC]vim-patch:8.0.{1123,1125,1138,1139,1142,1292,1334,1375},8.1.1264
| * vim-patch:8.0.1138: click in window toolbar starts Visual modeJan Edmund Lazo2020-04-26
| | | | | | | | | | | | Problem: Click in window toolbar starts Visual mode. Solution: Add the MOUSE_WINBAR flag. https://github.com/vim/vim/commit/eb163d73b11c10b461a2839530173a33d7915a33
* | Merge #11851 'eval.c: factor out eval/userfunc.c'Justin M. Keyes2020-04-27
|\ \ | | | | | | vim-patch:7.4.2058
| * \ Merge #11851 'eval.c: factor out eval/userfunc.c'Justin M. Keyes2020-04-26
| |\ \ | | |/ | |/| | | | vim-patch:7.4.2058
| | * rename: user_funcs -> userfuncJakub Łuczyński2020-02-13
| | | | | | | | | | | | Lets stick with vim for now
| | * fix: includesJakub Łuczyński2020-02-13
| | |
* | | vim-patch:7.4.1988Rob Pilling2020-04-19
|/ / | | | | | | | | | | | | | | | | | | | | Problem: When updating viminfo with file marks there is no time order. Solution: Remember the time when a buffer was last used, store marks for the most recently used buffers. https://github.com/vim/vim/commit/ab9c89b68dcbdb3fbda8c5a50dd90caca64f1bfd As this is a viminfo fix, most of this is irrelevant - the patch has just been brought across for the creation and updating of buffer's `b_last_used` properties.
* | folds: decrease reliance on global "curwin" (#12132)Matthieu Coudron2020-04-16
| | | | | | | | | | | | | | | | Pass the window in which to create/delete folds instead of using the global "curwin" (current window). Preliminary work for a fold API. TODO: I kept changed_lines prototype unchanged. This should be updated when a fold API sees the light.
* | vim-patch:8.2.0397: delayed screen update when using undo from Insert modeJan Edmund Lazo2020-04-13
| | | | | | | | | | | | Problem: Delayed screen update when using undo from Insert mode. Solution: Update w_topline and cursor shape before sleeping. (closes vim/vim#5790) https://github.com/vim/vim/commit/5715b3147bfc8ddfe905339f6fd224fd3a5a3ba1
* | api/ui: win_viewport event for visible range and cursor position in windowBjörn Linse2020-04-01
| |
* | vim-patch:8.1.0864 Make 'scrolloff' and 'sidescrolloff' options window local ↵Will Eccles2020-03-17
| | | | | | | | | | | | | | | | | | | | (#11854) Problem: cannot have a local value for 'scrolloff' and 'sidescrolloff' Author: Bram Moolenar https://github.com/vim/vim/commit/375e3390078e740d3c83b0c118c50d9a920036c7
* | foldcolumn: allow auto:XMatthieu Coudron2020-02-29
|/ | | | | | | | Similar to signcolumn, allow foldcolumn to adapt itself to the number of folds. Regression: vim supports a maximum fdc of 12, this limits it to 9.
* vim-patch:8.1.0027: difficult to make a plugin that feeds a line to a joberw72020-02-12
| | | | | | Problem: Difficult to make a plugin that feeds a line to a job. Solution: Add the nitial code for the "prompt" buftype. https://github.com/vim/vim/commit/f273245f6433d5d43a5671306b520a3230c35787
* Remove enc_utf8,has_mbyte dead codeJan Edmund Lazo2020-01-25
|
* vim-patch:8.2.0147: block Visual mode operators not correct when 'linebreak' setJan Edmund Lazo2020-01-24
| | | | | | Problem: Block Visual mode operators not correct when 'linebreak' set. Solution: Set w_p_lbr to lbr_saved more often. (Ken Takata, closes vim/vim#5524) https://github.com/vim/vim/commit/03c3bd9fd094c1aede2e8fe3ad8fd25b9f033053
* Remove (void) hacks, Mark unused attrsJan Edmund Lazo2020-01-08
|
* tabpage: track last-used tabpage #11626butwerenotthereyet2020-01-02
| | | | | | | | | In a multi-window scenario, it is possible to return focus to the last accessed window via n_CTRL-W_p. However, in the case of a multi-tab scenario, there was previously no way to return focus to the last accessed *tab*. Here, that ability is added via n_g<tab>. Additionally, the index of the previous tab is exposed via tabpagenr('#'), mirroring the existing functionality of winnr('#').
* vim-patch:8.1.2377: GUI: when losing focus a pending operator is executedJan Edmund Lazo2019-12-30
| | | | | | Problem: GUI: when losing focus a pending operator is executed. Solution: Do not execute an operator when getting K_IGNORE. (closes vim/vim#5300) https://github.com/vim/vim/commit/fa5612c7d836eb789e0f8ff4b10461b8640a14b2
* vim-patch:8.2.0002: "dj" only deletes first line of closed foldJan Edmund Lazo2019-12-16
| | | | | | Problem: "dj" only deletes first line of closed fold. Solution: Adjust last line of operator for linewise motion. (closes vim/vim#5354) https://github.com/vim/vim/commit/3b68123cd271fb781da4055cf1a1cf52f4fee6a5
* doc + extmarks tweaks #11421Justin M. Keyes2019-11-25
| | | | - nvim_buf_get_extmarks: rename "amount" => "limit" - rename `set_extmark_index_from_obj`
* vim-patch:8.1.2231: introduce gM command #11321Jan Edmund Lazo2019-11-01
| | | | | Problem: Not easy to move to the middle of a text line. Solution: Add the gM command. (Yasuhiro Matsumoto, closes vim/vim#2070) https://github.com/vim/vim/commit/8b530c1ff91f07cf6b0289a536992b7dfbc86598
* vim-patch:8.1.2173: searchit() has too many argumentsJaehwang Jerry Jung2019-10-27
| | | | | | Problem: Searchit() has too many arguments. Solution: Move optional arguments to a struct. Add the "wrapped" argument. https://github.com/vim/vim/commit/92ea26b925a0835badb0af2d5887238a4198cabb
* Merge #11199 from bobrippling/vim-8.1.1228Justin M. Keyes2019-10-22
|\ | | | | vim-patch:8.1.{1099,1228,1962} add 'tagfunc'
| * vim-patch:8.1.1228: not possible to process tags with a functionRob Pilling2019-10-22
| | | | | | | | | | | | Problem: Not possible to process tags with a function. Solution: Add tagfunc() (Christian Brabandt, Andy Massimino, closes vim/vim#4010) https://github.com/vim/vim/commit/45e18cbdc40afd8144d20dcc07ad2d981636f4c9
* | vim-patch:8.1.2140: "gk" and "gj" do not work correctly in number column #11208Jan Edmund Lazo2019-10-17
|/ | | | | Problem: "gk" and "gj" do not work correctly in number column. Solution: Allow for a negative "curswant". (Zach Wegner, closes vim/vim#4969) https://github.com/vim/vim/commit/ceba3dd5187788e09f65bd41b07b40f6f9aab953
* vim-patch:8.1.1588: in :let-heredoc line continuation is recognizedJurica Bradaric2019-10-07
| | | | | | Problem: In :let-heredoc line continuation is recognized. Solution: Do not consume line continuation. (Ozaki Kiichi, closes vim/vim#4580) https://github.com/vim/vim/commit/e96a2498f9a2d3e93ac07431f6d4afd77f30afdf
* vim-patch:8.1.0514: CTRL-W ^ does not work when alternate buffer has no nameJan Edmund Lazo2019-10-01
| | | | | | | Problem: CTRL-W ^ does not work when alternate buffer has no name. Solution: Use another method to split and edit the alternate buffer. (Jason Franklin) https://github.com/vim/vim/commit/1bbb61948342b5cf6e363629f145c65eb455c388
* vim-patch:8.1.1758: count of g$ not used correctly when text is not wrappedJan Edmund Lazo2019-10-01
| | | | | | Problem: Count of g$ not used correctly when text is not wrapped. Solution: Do use the count. (Christian Brabandt, closes vim/vim#4729, closes vim/vim#4566) https://github.com/vim/vim/commit/d5c8234517c18fa059b78f59eb96c35eda323dae
* vim-patch:8.1.2072: "gk" moves to start of line instead of upwardsJan Edmund Lazo2019-10-01
| | | | | | Problem: "gk" moves to start of line instead of upwards. Solution: Fix off-by-one error. (Christian Brabandt, closes vim/vim#4969) https://github.com/vim/vim/commit/03ac52fc025790c474030ea556cec799400aa046
* vim-patch:8.1.2059: fix for "x" deleting a fold has side effectsDaniel Hahler2019-09-22
| | | | | | Problem: Fix for "x" deleting a fold has side effects. Solution: Fix it where the fold is included. https://github.com/vim/vim/commit/56ebbabea1d8409ba67127b9674f6c714739c8e0
* vim-patch:8.1.2052: using "x" before a closed fold may delete that foldDaniel Hahler2019-09-22
| | | | | | Problem: Using "x" before a closed fold may delete that fold. Solution: Do not translate 'x' do "dl". (Christian Brabandt, closes vim/vim#4927) https://github.com/vim/vim/commit/7a9bd7c1e0ce1baf5a02daf36eeae3638aa315c7