Comments (3)
Hi,
Zero padded numbers denotes octal in C and JS (and yes it's a dumb legacy feature), so I don't see this changing, as JS is probably the number one target of codemirror.
Just passing by though, I am not a contributor of the project.
from codemirror-vim.
It seems we do this on purpose here. My local vim itself does not do it by default. Is this the meant behaviour? Should there perhaps be an option to disable it? @nightwing
from codemirror-vim.
This is indeed controlled by the option nrformats in vim, and we should add it. I'll make a pr this weekend.
from codemirror-vim.
Related Issues (20)
- nnoremap i :nohl<CR>i doesn't work
- Insert mode maps don't support character insertion HOT 3
- Vim keybindings don't work with Japanese keyboard HOT 3
- Not changing to Line mode automatically like vim HOT 10
- [Question] Alter an operator HOT 4
- [BUG]: error A document must have at least one line HOT 11
- readonly not work on vim mode
- Dead key input treated as insertion in normal mode HOT 1
- Feature: Replacement Preview HOT 2
- WS-2472: Find-backwards <Space> ignored HOT 6
- gk skips a line if cursor is at column 0 position (Obsidian) HOT 4
- CM default indent/dedent of Cmd + Square Brackets is not suppressed when vim is the chosen flavor HOT 3
- Pressing up and down arrow keys at the start of a line behaves strangely shortly after entering insert mode HOT 1
- `j` in visual mode renders offset to actual line when there is empty lines
- The /g flag on :s in Vim mode doesn't work as it should - it only replaces the first occurrence HOT 3
- Implement relative line numbers HOT 2
- Replaying a macro while it is being recorded hangs the page HOT 3
- [Bug] Random input in normal mode with IME HOT 1
- Feature: version command HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codemirror-vim.