Comments (10)
:retab
from legolas-vim.
@TTWShell 小哥,你这个箭头真的是头疼。。。。怎么能彻底搞掉啊。。。。我发现我执行python都报失败。。。。
from legolas-vim.
- 箭头不是真的有箭头,只是把tab显示为箭头,为的是查错方便,这样一眼就能看到有tab,而不是等到执行程序时候发现报错。在py里面,本就应该使用4空格缩进,而不能用tab,请看pep8。
- 把tab一键替换为4空格的方法之前也说过了,
:retab
。 - 文件本身有tab、使用paste模式复制了代码、在paste模式使用整体缩进快捷键才会引入tab。
结论:把tab去掉只用执行命令:retab
。
@levylll 以上
from legolas-vim.
😢,我以前会默认把vim的的tab换成4个space
然后就是:retab不管事儿呀。。。。如下。。。箭头还是在。。。
不好意思呀
92 >--->---
93 >--->---
94
95
NORMAL PASTE ./draw_raw_data.py + unix utf-8 python 82% 94:1
:retab
from legolas-vim.
@TTWShell 诶,抱歉,可能是我用法有问题,刚刚的 :retab
又生效了,非常抱歉的打扰了你。
from legolas-vim.
@levylll 不要停留在paste模式,复制黏贴完代码退出paste模式,看你的powerline感觉不对。
from legolas-vim.
@TTWShell 这应该是粘贴上来之后,才变成小方块了,在vim里面看起来没大问题。嗯,这个paste模式的话,额,确实也是我用的不太好的一点,有时候想要有时候不想要。。。。。
from legolas-vim.
请问
~ 87
+ 97
_ 108
请问,数字左边这些小符号是什么意思啊
from legolas-vim.
git diff插件。
from legolas-vim.
@TTWShell 如果没有git add git commit 的话,这种小标记能不能去掉,有时候想复制,会有小符号的影响。
from legolas-vim.
Related Issues (20)
- ycm补全python第三方库好慢 HOT 4
- error report when loading vim HOT 1
- E319: Sorry, the command is not available in this version: py3 << EOF HOT 2
- 无法在Deepin安装 HOT 3
- vim8建议更换安装方式 HOT 2
- git clone 小建议 HOT 3
- deepin安装vim失败 HOT 3
- 考虑使用异步的w0rp/ale替换scrooloose/syntastic HOT 2
- install的时候可以加一个是否install golang相关的选项
- 怎样显示函数列表 HOT 3
- Undefined variable: g:ale_emit_conflict_warnings HOT 17
- 关于ToggleFold函数的一点个人意见 HOT 1
- install.sh 需要增加一个校验,避免误操作
- 请问怎么才能完全卸载掉您的配置? HOT 2
- ubuntu16.04安装报不支持系统错误 HOT 6
- ub
- Ubantu16.04 一键安装后 自动补全功能不正常 HOT 1
- YCP不见了?
- 代码文档实时预览怎么关闭? HOT 6
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 legolas-vim.